Fix implicit-function-declaration error by 'extern'-ing the function in the file Signed-off-by: Arnold Chand <chand.arnold@xxxxxxxxxxx> --- drivers/staging/board/board.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/board/board.c b/drivers/staging/board/board.c index cb6feb34dd40..3025ee9f5517 100644 --- a/drivers/staging/board/board.c +++ b/drivers/staging/board/board.c @@ -22,6 +22,8 @@ static struct device_node *irqc_node __initdata; static unsigned int irqc_base __initdata; +extern struct device_node *of_find_all_nodes(struct device_node *prev); + static bool find_by_address(u64 base_address) { struct device_node *dn = of_find_all_nodes(NULL); -- 2.20.1 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel