All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vatika Harlalka <vatikaharlalka@gmail.com>
To: outreachy-kernel@googlegroups.com
Subject: [PATCH] Staging: board: Add identifier for 'of_find_all_nodes'
Date: Fri, 20 Feb 2015 15:47:47 +0530	[thread overview]
Message-ID: <20150220101747.GA19443@gmail.com> (raw)

This patch fixes sparse errors for this driver related to
identifiers and casting for of_find_all_nodes in linux/of.h library.

Signed-off-by: Vatika Harlalka <vatikaharlalka@gmail.com>
---
 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 d5a6abc..666e000 100644
--- a/drivers/staging/board/board.c
+++ b/drivers/staging/board/board.c
@@ -5,6 +5,7 @@
 #include <linux/of_address.h>
 #include "board.h"
 
+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);
-- 
1.9.1



             reply	other threads:[~2015-02-20 10:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-20 10:17 Vatika Harlalka [this message]
2015-02-20 10:35 ` [Outreachy kernel] [PATCH] Staging: board: Add identifier for 'of_find_all_nodes' Arnd Bergmann

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=20150220101747.GA19443@gmail.com \
    --to=vatikaharlalka@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.