original_kernel/drivers/pinctrl
Axel Lin 924da31416 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>
2012-11-06 10:02:14 +01:00
..
spear pinctrl: SPEAr1340: Add clcd sleep mode pin configuration 2012-11-05 12:34:32 +01:00
Kconfig pinctrl: samsung and exynos need to depend on OF && GPIOLIB 2012-11-06 10:02:14 +01:00
Makefile
core.c pinctrl: fix missing unlock on error in pinctrl_groups_show() 2012-10-23 10:35:10 +02:00
core.h
devicetree.c
devicetree.h
pinconf-generic.c
pinconf.c pinctrl: remove mutex lock in groups show 2012-10-18 20:27:31 +02:00
pinconf.h
pinctrl-armada-370.c
pinctrl-armada-xp.c
pinctrl-bcm2835.c pinctrl: fix return value in bcm2835_pinctrl_probe() 2012-10-15 09:09:27 +02:00
pinctrl-coh901.c
pinctrl-coh901.h
pinctrl-dove.c
pinctrl-exynos.c
pinctrl-exynos.h
pinctrl-falcon.c
pinctrl-imx.c
pinctrl-imx.h
pinctrl-imx6q.c
pinctrl-imx23.c
pinctrl-imx28.c
pinctrl-imx35.c
pinctrl-imx51.c
pinctrl-imx53.c
pinctrl-kirkwood.c
pinctrl-lantiq.c
pinctrl-lantiq.h
pinctrl-mmp2.c
pinctrl-mvebu.c
pinctrl-mvebu.h
pinctrl-mxs.c
pinctrl-mxs.h
pinctrl-nomadik-db8500.c pinctrl/nomadik: support other alternate-C functions 2012-10-10 08:36:59 +02:00
pinctrl-nomadik-db8540.c pinctrl/nomadik: support other alternate-C functions 2012-10-10 08:36:59 +02:00
pinctrl-nomadik-stn8815.c
pinctrl-nomadik.c pinctrl/nomadik: pass DT node to the irqdomain 2012-10-23 11:52:25 +02:00
pinctrl-nomadik.h pinctrl/nomadik: support other alternate-C functions 2012-10-10 08:36:59 +02:00
pinctrl-pxa3xx.c
pinctrl-pxa3xx.h
pinctrl-pxa168.c
pinctrl-pxa910.c
pinctrl-samsung.c pinctrl: samsung: use __devinit section for init code 2012-10-15 09:09:27 +02:00
pinctrl-samsung.h
pinctrl-single.c
pinctrl-sirf.c pinctrl: sirf: remove sirfsoc_gpio_set_pull function 2012-10-15 09:09:27 +02:00
pinctrl-tegra.c pinctrl: tegra: set low power mode bank width to 2 2012-10-17 19:47:06 +02:00
pinctrl-tegra.h
pinctrl-tegra20.c
pinctrl-tegra30.c pinctrl: tegra: correct bank for pingroup and drv pingroup 2012-10-17 19:49:28 +02:00
pinctrl-u300.c
pinctrl-xway.c pinctrl: remove duplicated include from pinctrl-xway.c 2012-10-15 09:09:27 +02:00
pinmux.c
pinmux.h