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 obj-$(CONFIG_ARCH_EMEV2) += kzm9d.o obj-$(CONFIG_ARCH_R8A7740) += armadillo800eva.o -- 1.9.1 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel