diff options
author | Axel Lin <axel.lin@ingics.com> | 2012-11-06 15:04:30 +0800 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-11-06 10:02:14 +0100 |
commit | 924da31416f20a8ee7a9008dd4e6e6054bc36b1b (patch) | |
tree | 914cd8bf028fd400eb70a98c9c8de6b8674263df /firmware/bnx2x | |
parent | 0504271c8dfe2247401de4f153e9224535e622c2 (diff) | |
download | kernel_goldelico_gta04-924da31416f20a8ee7a9008dd4e6e6054bc36b1b.zip kernel_goldelico_gta04-924da31416f20a8ee7a9008dd4e6e6054bc36b1b.tar.gz kernel_goldelico_gta04-924da31416f20a8ee7a9008dd4e6e6054bc36b1b.tar.bz2 |
pinctrl: samsung and exynos need to depend on OF && GPIOLIB
This patch fixes below build error when !CONFIG_OF_GPIO.
CC drivers/pinctrl/pinctrl-samsung.o
drivers/pinctrl/pinctrl-samsung.c: In function 'samsung_pinctrl_parse_dt_pins':
drivers/pinctrl/pinctrl-samsung.c:557:19: warning: unused variable 'prop' [-Wunused-variable]
drivers/pinctrl/pinctrl-samsung.c: In function 'samsung_gpiolib_register':
drivers/pinctrl/pinctrl-samsung.c:797:5: error: 'struct gpio_chip' has no member named 'of_node'
make[2]: *** [drivers/pinctrl/pinctrl-samsung.o] Error 1
make[1]: *** [drivers/pinctrl] Error 2
make: *** [drivers] Error 2
The samsung pinctrl driver supports only device tree enabled
platforms. Thus make PINCTRL_SAMSUNG depend on OF && GPIOLIB.
The reason to depend on GPIOLIB is CONFIG_OF_GPIO only available
when GPIOLIB is selected.
Since PINCTRL_EXYNOS4 select PINCTRL_SAMSUNG, thus also make
PINCTRL_EXYNOS4 depend on OF && GPIOLIB.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'firmware/bnx2x')
0 files changed, 0 insertions, 0 deletions