diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2019-12-13 08:24:33 +0100 |
---|---|---|
committer | Krzysztof Kozlowski <krzk@kernel.org> | 2019-12-15 12:47:52 +0100 |
commit | 225a2ec19aac426ef29f0e4accfc890c87d38bdc (patch) | |
tree | 32d73ff2e3874220d0a381fe472b36e38e593057 /drivers/net/can/m_can/tcan4x5x.c | |
parent | 56d9625e8cc6d2fb6f59a3829d1c258944535609 (diff) |
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>
Diffstat (limited to 'drivers/net/can/m_can/tcan4x5x.c')
0 files changed, 0 insertions, 0 deletions