diff options
author | Scott Branden <scott.branden@broadcom.com> | 2016-10-08 16:54:05 -0400 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2017-01-18 18:38:17 -0500 |
commit | 5bf22ff32e736beb8ba91a99a3e116d12e7eabd0 (patch) | |
tree | 20e15bf305f3d988b4060e59b3fb02e4e2445d97 | |
parent | bccec89f0a35f65302734d1cdb01479df0f33ac9 (diff) |
pwm: bcm-iproc: Update dependencies for compile-test
Add dependency on COMMON_CLK and allow COMPILE_TEST for broader compile
coverage. Default to Y for IPROC SoCs. This allows the driver to simply
be enabled by selecting PWM.
Signed-off-by: Scott Branden <scott.branden@broadcom.com>
Reviewed-by: Ray Jui <ray.jui@broadcom.com>
[thierry.reding@gmail.com: reword commit message]
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
-rw-r--r-- | drivers/pwm/Kconfig | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig index f92dd41b0395..704b0b8f65c1 100644 --- a/drivers/pwm/Kconfig +++ b/drivers/pwm/Kconfig | |||
@@ -76,7 +76,9 @@ config PWM_ATMEL_TCB | |||
76 | 76 | ||
77 | config PWM_BCM_IPROC | 77 | config PWM_BCM_IPROC |
78 | tristate "iProc PWM support" | 78 | tristate "iProc PWM support" |
79 | depends on ARCH_BCM_IPROC | 79 | depends on ARCH_BCM_IPROC || COMPILE_TEST |
80 | depends on COMMON_CLK | ||
81 | default ARCH_BCM_IPROC | ||
80 | help | 82 | help |
81 | Generic PWM framework driver for Broadcom iProc PWM block. This | 83 | Generic PWM framework driver for Broadcom iProc PWM block. This |
82 | block is used in Broadcom iProc SoC's. | 84 | block is used in Broadcom iProc SoC's. |