linux-stable/drivers/pinctrl/samsung
Krzysztof Kozlowski 225a2ec19a pinctrl: samsung: Fix missing OF and GPIOLIB dependency on S3C24xx and S3C64xx
All Samsung pinctrl drivers select common part - PINCTRL_SAMSUNG which uses
both OF and GPIOLIB inside.  However only Exynos drivers depend on these,
therefore after enabling COMPILE_TEST, on x86_64 build of S3C64xx driver
failed:

    drivers/pinctrl/samsung/pinctrl-samsung.c: In function ‘samsung_gpiolib_register’:
    drivers/pinctrl/samsung/pinctrl-samsung.c:969:5: error: ‘struct gpio_chip’ has no member named ‘of_node’
       gc->of_node = bank->of_node;
         ^

Rework the dependencies so all Samsung drivers and common
PINCTRL_SAMSUNG part depend on OF_GPIO (which is default yes if GPIOLIB
and OF are enabled).

Reported-by: Chen Zhou <chenzhou10@huawei.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
2019-12-15 12:47:52 +01:00
..
Kconfig pinctrl: samsung: Fix missing OF and GPIOLIB dependency on S3C24xx and S3C64xx 2019-12-15 12:47:52 +01:00
Makefile pinctrl: samsung: Remove support for Exynos5440 2018-05-02 19:08:55 +02:00
pinctrl-exynos-arm.c pinctrl: samsung: fix leaked of_node references 2019-04-23 10:59:47 +02:00
pinctrl-exynos-arm64.c pinctrl: samsung: Document required order of banks 2018-04-18 17:48:39 +02:00
pinctrl-exynos.c pinctrl: samsung: Fix device node refcount leaks in Exynos wakeup controller init 2019-10-01 20:22:04 +02:00
pinctrl-exynos.h pinctrl: samsung: Fix suspend/resume for Exynos5433 GPF1..5 banks 2018-05-23 21:23:19 +02:00
pinctrl-s3c24xx.c pinctrl: samsung: Fix device node refcount leaks in S3C24xx wakeup controller init 2019-10-01 20:22:04 +02:00
pinctrl-s3c64xx.c pinctrl: samsung: Fix device node refcount leaks in S3C64xx wakeup controller init 2019-10-01 20:22:04 +02:00
pinctrl-samsung.c pinctrl: samsung: Fix device node refcount leaks in init code 2019-10-01 20:22:04 +02:00
pinctrl-samsung.h pinctrl: Include <linux/gpio/driver.h> nothing else 2018-09-14 15:10:57 +02:00