[PATCH 1/2] mfd: syscon: fix exported symbol name

Antony Pavlov antonynpavlov at gmail.com
Tue Sep 27 03:24:31 PDT 2016


On Tue, 27 Sep 2016 11:59:18 +0200
Lucas Stach <l.stach at pengutronix.de> wrote:

> Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
> ---
>  drivers/mfd/syscon.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/drivers/mfd/syscon.c b/drivers/mfd/syscon.c
> index 295e210f6e2d..9f8baee1aadf 100644
> --- a/drivers/mfd/syscon.c
> +++ b/drivers/mfd/syscon.c
> @@ -76,8 +76,7 @@ static void __iomem *syscon_node_to_base(struct device_node *np)
                    ^^^^^^

Hmm. In the current next and master branches syscon_node_to_base() is a static function.
Can we just drop this EXPORT_SYMBOL_GPL()?

>  	return syscon->base;
>  }
> -EXPORT_SYMBOL_GPL(syscon_node_to_regmap);
> -
> +EXPORT_SYMBOL_GPL(syscon_node_to_base);
>  
>  void __iomem *syscon_base_lookup_by_pdevname(const char *s)
>  {
> -- 
> 2.9.3
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox


-- 
-- 
Best regards,
  Antony Pavlov



More information about the barebox mailing list