WSL2-Linux-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 Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2012-10-09 16:08:04 +09:00
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: mvebu: add pinctrl driver for Armada 370 2012-09-22 14:50:19 +00:00
pinctrl-armada-xp.c pinctrl: mvebu: add pinctrl driver for Armada XP 2012-09-22 14:50:20 +00:00
pinctrl-bcm2835.c pinctrl: fix return value in bcm2835_pinctrl_probe() 2012-10-15 09:09:27 +02:00
pinctrl-coh901.c pinctrl/coh901: move header to platform data dir 2012-08-13 13:53:05 +02:00
pinctrl-coh901.h
pinctrl-dove.c pinctrl: mvebu: dove pinctrl driver 2012-09-22 14:50:16 +00:00
pinctrl-exynos.c pinctrl: exynos: Fix wakeup IRQ domain registration check 2012-09-21 07:34:07 +09:00
pinctrl-exynos.h pinctrl: exynos: Set pin function to EINT in irq_set_type of GPIO EINTa 2012-09-21 07:33:48 +09:00
pinctrl-falcon.c OF: pinctrl: MIPS: lantiq: adds support for FALCON SoC 2012-09-13 10:30:58 +02:00
pinctrl-imx.c pinctrl: imx: remove duplicated const 2012-09-18 15:19:13 +02:00
pinctrl-imx.h
pinctrl-imx6q.c
pinctrl-imx23.c
pinctrl-imx28.c
pinctrl-imx35.c pinctrl: pinctrl-imx: add imx35 pinctrl driver 2012-09-03 13:21:37 +02:00
pinctrl-imx51.c pinctrl: imx5: start numbering pad from 0 2012-09-03 13:21:37 +02:00
pinctrl-imx53.c pinctrl: imx5: start numbering pad from 0 2012-09-03 13:21:37 +02:00
pinctrl-kirkwood.c pinctrl: mvebu: kirkwood pinctrl driver 2012-09-22 14:50:17 +00:00
pinctrl-lantiq.c OF: pinctrl: MIPS: lantiq: implement lantiq/xway pinctrl support 2012-09-13 10:30:49 +02:00
pinctrl-lantiq.h OF: pinctrl: MIPS: lantiq: implement lantiq/xway pinctrl support 2012-09-13 10:30:49 +02:00
pinctrl-mmp2.c
pinctrl-mvebu.c pinctrl: mvebu: pinctrl driver core 2012-09-22 14:50:14 +00:00
pinctrl-mvebu.h pinctrl: mvebu: pinctrl driver core 2012-09-22 14:50:14 +00:00
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: add STn8815 ASIC support 2012-09-03 13:21:37 +02:00
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: add samsung pinctrl and gpiolib driver 2012-09-07 06:07:19 +09:00
pinctrl-single.c pinctrl: pinctrl-single: add debugfs pin h/w state info 2012-09-28 09:12:53 +02:00
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: tegra: move pinconf-tegra.h content into drivers/pinctrl 2012-09-14 11:35:37 -06:00
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/pinctrl-u300: remove unneeded devm_kfree call 2012-08-05 00:24:15 +02:00
pinctrl-xway.c pinctrl: remove duplicated include from pinctrl-xway.c 2012-10-15 09:09:27 +02:00
pinmux.c pinctrl: use kasprintf() in pinmux_request_gpio() 2012-09-14 15:53:13 +02:00
pinmux.h