Skip to content
Commit 26557d10 authored by Suman Anna's avatar Suman Anna Committed by Tom Rini
Browse files

remoteproc: Fix potential build issues with SPL remoteproc



The rproc uclass driver can either be built with SPL_REMOTEPROC
or REMOTEPROC, but the function prototypes in remoteproc.h are
defined only when CONFIG_REMOTEPROC is defined. This can cause
build issues in SPL if CONFIG_REMOTEPROC is not selected.

Fix this by replacing the existing precompiler macro usage with
CONFIG_IS_ENABLED.

Fixes: ddf56bc7 ("drivers: Introduce a simplified remoteproc framework")
Signed-off-by: default avatarSuman Anna <s-anna@ti.com>
Reviewed-by: default avatarNishanth Menon <nm@ti.com>
Reviewed-by: default avatarLokesh Vutla <lokeshvutla@ti.com>
parent 57a51123
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment