Skip to content

Commit

Permalink
pinctrl: samsung: Enable compile test for build coverage
Browse files Browse the repository at this point in the history
The Samsung pinctrl drivers require only GPIOLIB and OF for building.
The drivers should be buildable on all architectures so enable
COMPILE_TEST.

Signed-off-by: Krzysztof Kozlowski <[email protected]>
  • Loading branch information
krzk committed Dec 11, 2019
1 parent e42617b commit 73ae2cb
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions drivers/pinctrl/samsung/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ config PINCTRL_SAMSUNG

config PINCTRL_EXYNOS
bool "Pinctrl driver data for Samsung EXYNOS SoCs"
depends on OF && GPIOLIB && (ARCH_EXYNOS || ARCH_S5PV210)
depends on OF && GPIOLIB
depends on ARCH_EXYNOS || ARCH_S5PV210 || COMPILE_TEST
select PINCTRL_SAMSUNG
select PINCTRL_EXYNOS_ARM if ARM && (ARCH_EXYNOS || ARCH_S5PV210)
select PINCTRL_EXYNOS_ARM64 if ARM64 && ARCH_EXYNOS
Expand All @@ -24,10 +25,11 @@ config PINCTRL_EXYNOS_ARM64

config PINCTRL_S3C24XX
bool "Samsung S3C24XX SoC pinctrl driver"
depends on ARCH_S3C24XX && OF
depends on OF
depends on ARCH_S3C24XX || COMPILE_TEST
select PINCTRL_SAMSUNG

config PINCTRL_S3C64XX
bool "Samsung S3C64XX SoC pinctrl driver"
depends on ARCH_S3C64XX
depends on ARCH_S3C64XX || COMPILE_TEST
select PINCTRL_SAMSUNG

0 comments on commit 73ae2cb

Please sign in to comment.