Re: linux-next: Tree for Jun 27 (pinctrl && !CONFIG_OF)
From: Randy Dunlap
Date: Mon Jun 27 2016 - 14:15:34 EST
On 06/26/16 23:39, Stephen Rothwell wrote:
> Hi all,
>
> Changes since 20160624:
>
on i386, when CONFIG_OF is not enabled ...
but OF_GPIO is enabled due to this in drivers/gpio/Kconfig:
config OF_GPIO
def_bool y
depends on OF || COMPILE_TEST
(above from commit 1e4a80640338924b9f9fd7a121ac31d08134410a
from Alexander Stein <alexanders83@xxxxxx>)
../drivers/pinctrl/bcm/pinctrl-iproc-gpio.c:381:20: error: 'pinconf_generic_dt_node_to_map_pin' 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)
../drivers/pinctrl/bcm/pinctrl-nsp-gpio.c:365:20: error: 'pinconf_generic_dt_node_to_map_pin' undeclared here (not in a function)
because that function is only present when CONFIG_OF is enabled.
Also, why does that commit (1e4a80640338924b9f9fd7a121ac31d08134410a)
not have any other S-O-B lines in it? like whoever merged it?
--
~Randy