All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Staging: board: Fixed the error for implicit declaration of function
@ 2015-10-02  4:06 Shivani Bhardwaj
  2015-10-02  8:00 ` [Outreachy kernel] " Julia Lawall
  2015-10-02 10:00 ` Shivani Bhardwaj
  0 siblings, 2 replies; 21+ messages in thread
From: Shivani Bhardwaj @ 2015-10-02  4:06 UTC (permalink / raw)
  To: outreachy-kernel

Fixed the error for implicit declaration of the function
'of_find_all_nodes' by adding the appropriate header file and declaring
the function before it has been called.

Signed-off-by: Shivani Bhardwaj: <shivanib134@gmail.com>
---
 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 29d456e..8d0ac82 100644
--- a/drivers/staging/board/board.c
+++ b/drivers/staging/board/board.c
@@ -19,11 +19,13 @@
 #include <linux/of_irq.h>
 #include <linux/platform_device.h>
 #include <linux/pm_domain.h>
+#include <asm/prom.h>
 
 #include "board.h"
 
 static struct device_node *irqc_node __initdata;
 static unsigned int irqc_base __initdata;
+struct device_node *of_find_all_nodes(struct device_node *prev);
 
 static bool find_by_address(u64 base_address)
 {
-- 
2.1.0



^ permalink raw reply related	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2015-10-07  0:47 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-02  4:06 [PATCH] Staging: board: Fixed the error for implicit declaration of function Shivani Bhardwaj
2015-10-02  8:00 ` [Outreachy kernel] " Julia Lawall
2015-10-02  8:09   ` Shivani Bhardwaj
2015-10-02  9:09     ` Julia Lawall
2015-10-02 10:28     ` Sudip Mukherjee
2015-10-02 11:50       ` Shivani Bhardwaj
2015-10-02 12:01       ` Shivani Bhardwaj
2015-10-02 12:14         ` Sudip Mukherjee
2015-10-02 12:59         ` Sudip Mukherjee
2015-10-04 10:19           ` Shivani Bhardwaj
2015-10-04 12:59             ` Julia Lawall
2015-10-06  4:08               ` Shivani Bhardwaj
2015-10-06  4:43                 ` Shivani Bhardwaj
2015-10-06  4:53                   ` Vaishali Thakkar
2015-10-06  5:00                   ` Julia Lawall
2015-10-06  5:09                     ` Sudip Mukherjee
2015-10-07  0:47                       ` Shivani Bhardwaj
2015-10-06  5:01                   ` Sudip Mukherjee
2015-10-02 10:00 ` Shivani Bhardwaj
2015-10-02 11:19   ` [Outreachy kernel] " Julia Lawall
2015-10-02 11:57     ` Shivani Bhardwaj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.