pwm: bcm-iproc: Update dependencies for compile-test
authorScott Branden <scott.branden@broadcom.com>
Sat, 8 Oct 2016 20:54:05 +0000 (13:54 -0700)
committerThierry Reding <thierry.reding@gmail.com>
Wed, 18 Jan 2017 23:38:17 +0000 (00:38 +0100)
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>
drivers/pwm/Kconfig

index f92dd41b0395f2621d188969a3a249cc5cfbd122..704b0b8f65c1db1a6909007f16e5a1753ca6efa3 100644 (file)
@@ -76,7 +76,9 @@ config PWM_ATMEL_TCB
 
 config PWM_BCM_IPROC
        tristate "iProc PWM support"
-       depends on ARCH_BCM_IPROC
+       depends on ARCH_BCM_IPROC || COMPILE_TEST
+       depends on COMMON_CLK
+       default ARCH_BCM_IPROC
        help
          Generic PWM framework driver for Broadcom iProc PWM block. This
          block is used in Broadcom iProc SoC's.