Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1738240

Re: [PATCH] default implementation for of_find_all_nodes(...)

From Frank Rowand <frowand.list@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] default implementation for of_find_all_nodes(...)
Date 2017-09-24 20:00 +0200
Message-ID <utjma-3fj-13@gated-at.bofh.it> (permalink)
References <ukg49-3qx-5@gated-at.bofh.it> <uthu2-263-17@gated-at.bofh.it> <uthu2-263-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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
> 
> 

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[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

csiph-web