lkml.org 
[lkml]   [2013]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 3/5] OF: export of_property_notify
On Tue, Nov 05, 2013 at 07:50:14PM +0200, Pantelis Antoniou wrote:
> of_property_notify can be utilized by other users too, export it.
>
> Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com>
> ---
> drivers/of/base.c | 8 +-------
> include/linux/of.h | 11 +++++++++++
> 2 files changed, 12 insertions(+), 7 deletions(-)
>
> diff --git a/drivers/of/base.c b/drivers/of/base.c
> index ca10916..0ffc5a9 100644
> --- a/drivers/of/base.c
> +++ b/drivers/of/base.c
> @@ -1424,7 +1424,7 @@ int of_count_phandle_with_args(const struct device_node *np, const char *list_na
> EXPORT_SYMBOL(of_count_phandle_with_args);
>
> #if defined(CONFIG_OF_DYNAMIC)
> -static int of_property_notify(int action, struct device_node *np,
> +int of_property_notify(int action, struct device_node *np,
> struct property *prop)
> {
> struct of_prop_reconfig pr;
> @@ -1433,12 +1433,6 @@ static int of_property_notify(int action, struct device_node *np,
> pr.prop = prop;
> return of_reconfig_notify(action, &pr);
> }
> -#else
> -static int of_property_notify(int action, struct device_node *np,
> - struct property *prop)
> -{
> - return 0;
> -}
> #endif

EXPORT_SYMBOL[_GPL]?

-Matt


\
 
 \ /
  Last update: 2013-11-05 20:01    [W:1.754 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site