On Wed, Mar 22, 2017 at 02:00:31PM +0100, Artur Lorincz wrote: > Made the compilation of board.c depend on the CONFIG_OF flag. The > source file board.c is referencing of_find_all_nodes(...) which is > included only if the CONFIG_OF flag is set. > > Signed-off-by: Artur Lorincz <larturus@xxxxxxxxx> > --- > drivers/staging/board/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/board/Makefile b/drivers/staging/board/Makefile > index 6842745..146aab0 100644 > --- a/drivers/staging/board/Makefile > +++ b/drivers/staging/board/Makefile > @@ -1,3 +1,3 @@ > -obj-y := board.o > +obj-$(CONFIG_OF) += board.o Ick, no, what about building this code for other systems? thanks, greg k-h _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel