All of lore.kernel.org
 help / color / mirror / Atom feed
From: Shivani Bhardwaj <shivanib134@gmail.com>
To: outreachy-kernel@googlegroups.com
Subject: [PATCH] Staging: board: Fixed the error for implicit declaration of function
Date: Fri, 2 Oct 2015 09:36:37 +0530	[thread overview]
Message-ID: <20151002040637.GA41415@ubuntu> (raw)

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



             reply	other threads:[~2015-10-02  4:06 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-02  4:06 Shivani Bhardwaj [this message]
2015-10-02  8:00 ` [Outreachy kernel] [PATCH] Staging: board: Fixed the error for implicit declaration of function 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151002040637.GA41415@ubuntu \
    --to=shivanib134@gmail.com \
    --cc=outreachy-kernel@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.