[PATCH] Staging:board:board: fix implicit declaration of function

From: Nadim Almas
Date: Sun Oct 23 2016 - 17:05:45 EST


implicit declaration of function âof_find_all_nodesâ reported by sparse

Signed-off-by: Nadim Almas <nadim.902@xxxxxxxxx>
---
drivers/staging/board/board.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/staging/board/board.c b/drivers/staging/board/board.c
index 86dc411..6978db5 100644
--- a/drivers/staging/board/board.c
+++ b/drivers/staging/board/board.c
@@ -22,6 +22,7 @@

#include "board.h"

+struct device_node *of_find_all_nodes(struct device_node *);
static struct device_node *irqc_node __initdata;
static unsigned int irqc_base __initdata;

--
2.7.4