Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1738222 > unrolled thread
| Started by | Artur Lorincz <larturus2@gmail.com> |
|---|---|
| First post | 2017-09-24 18:00 +0200 |
| Last post | 2017-09-24 20:00 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH] default implementation for of_find_all_nodes(...) Artur Lorincz <larturus2@gmail.com> - 2017-09-24 18:00 +0200
Re: [PATCH] default implementation for of_find_all_nodes(...) Frank Rowand <frowand.list@gmail.com> - 2017-09-24 20:00 +0200
| From | Artur Lorincz <larturus2@gmail.com> |
|---|---|
| Date | 2017-09-24 18:00 +0200 |
| Subject | [PATCH] default implementation for of_find_all_nodes(...) |
| Message-ID | <uthu2-263-15@gated-at.bofh.it> |
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
[toc] | [next] | [standalone]
| From | Frank Rowand <frowand.list@gmail.com> |
|---|---|
| Date | 2017-09-24 20:00 +0200 |
| Message-ID | <utjma-3fj-13@gated-at.bofh.it> |
| In reply to | #1738222 |
Adding Rob Herring.
On 09/24/17 08:50, Artur Lorincz wrote:
> 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
>
>
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web