lkml.org 
[lkml]   [2016]   [Jul]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] pinctrl: bcm: add OF dependencies
On Fri, Jul 15, 2016 at 10:29 PM, Arnd Bergmann <arnd@arndb.de> wrote:

> Building without CONFIG_OF gives us these warnings for the broadcom
> pinctrl drivers:
>
> drivers/pinctrl/bcm/pinctrl-nsp-mux.c:356:20: error: 'pinconf_generic_dt_node_to_map_group' undeclared here (not in a function)
> drivers/pinctrl/bcm/pinctrl-cygnus-mux.c:739:20: error: 'pinconf_generic_dt_node_to_map_group' undeclared here (not in a function)
>
> The function is only available when CONFIG_OF is set, so we should add
> a Kconfig dependency for both drivers.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> Fixes: cc4fa83f66e9 ("pinctrl: nsp: add pinmux driver support for Broadcom NSP SoC")

Patch applied.

Yours,
Linus Walleij

\
 
 \ /
  Last update: 2016-07-22 17:21    [W:0.032 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site