Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Scott Branden and committed by
Thierry Reding
5bf22ff3 bccec89f

+3 -1
+3 -1
drivers/pwm/Kconfig
··· 76 76 77 77 config PWM_BCM_IPROC 78 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 82 help 81 83 Generic PWM framework driver for Broadcom iProc PWM block. This 82 84 block is used in Broadcom iProc SoC's.