On 10:27-20190719, Suman Anna wrote: > 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: ddf56bc7e3ef ("drivers: Introduce a simplified remoteproc framework") > Signed-off-by: Suman Anna <s-a...@ti.com> > --- > include/remoteproc.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/remoteproc.h b/include/remoteproc.h > index a59dba84810f..6be737d8d119 100644 > --- a/include/remoteproc.h > +++ b/include/remoteproc.h > @@ -77,7 +77,7 @@ struct dm_rproc_ops { > /* Accessor */ > #define rproc_get_ops(dev) ((struct dm_rproc_ops *)(dev)->driver->ops) > > -#ifdef CONFIG_REMOTEPROC > +#if CONFIG_IS_ENABLED(REMOTEPROC) > /** > * rproc_init() - Initialize all bound remote proc devices > * > -- > 2.22.0 >
Aaah.. Thanks.. Reviewed-by: Nishanth Menon <n...@ti.com> -- Regards, Nishanth Menon _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot