All of lore.kernel.org
 help / color / mirror / Atom feed
From: Artur Lorincz <larturus2@gmail.com>
To: frowand.list@gmail.com
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	larturus@yahoo.com, Artur Lorincz <larturus2@gmail.com>
Subject: [PATCH] default implementation for of_find_all_nodes(...)
Date: Wed, 30 Aug 2017 20:32:26 +0200	[thread overview]
Message-ID: <1504117946-3958-1-git-send-email-larturus2@gmail.com> (raw)

Added default implementation for of_find_all_nodes(). This function is
used by board.c from the board module (drivers/staging/board).

Signed-off-by: Artur Lorincz <larturus@yahoo.com>
---
 include/linux/of.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/include/linux/of.h b/include/linux/of.h
index 4a8a709..0a9c17a 100644
--- a/include/linux/of.h
+++ b/include/linux/of.h
@@ -865,6 +865,11 @@ static inline void of_property_clear_flag(struct property *p, unsigned long flag

 #define of_match_ptr(_ptr)	NULL
 #define of_match_node(_matches, _node)	NULL
+
+static inline struct device_node *of_find_all_nodes(struct device_node *prev)
+{
+	return NULL;
+}
 #endif /* CONFIG_OF */

 /* Default string compare functions, Allow arch asm/prom.h to override */
--
1.9.1

             reply	other threads:[~2017-08-30 18:32 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-30 18:32 Artur Lorincz [this message]
2017-09-24 15:50 ` Artur Lorincz
2017-09-24 15:50   ` (unknown), Artur Lorincz
2017-09-24 15:50   ` [PATCH] default implementation for of_find_all_nodes(...) Artur Lorincz
2017-09-24 17:50     ` Frank Rowand
2017-09-24 17:50       ` Frank Rowand
2017-10-06 19:31 ` Artur Lorincz
2017-10-06 19:31   ` (unknown), Artur Lorincz
2017-10-06 19:31   ` [PATCH] default implementation for of_find_all_nodes(...) Artur Lorincz
2017-10-06 22:32 ` Rob Herring
2017-10-06 22:32   ` Rob Herring
2017-10-08 16:28 ` Artur Lorincz
2017-10-08 16:28   ` (unknown), Artur Lorincz
2017-10-08 16:28   ` [PATCH] Added default implementation for of_find_all_nodes(). This function is used by board.c from the board module (drivers/staging/board) Artur Lorincz
2017-10-08 19:23     ` kbuild test robot
2017-10-08 19:23       ` kbuild test robot
2017-10-09  1:22     ` Rob Herring
2017-10-09  1:22       ` Rob Herring

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=1504117946-3958-1-git-send-email-larturus2@gmail.com \
    --to=larturus2@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=frowand.list@gmail.com \
    --cc=larturus@yahoo.com \
    --cc=linux-kernel@vger.kernel.org \
    /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.