pwm: bcm2835: Allow building for ARCH_BRCMSTB
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 9 Dec 2019 23:25:03 +0000 (15:25 -0800)
committerThierry Reding <thierry.reding@gmail.com>
Mon, 20 Jan 2020 12:21:44 +0000 (13:21 +0100)
BCM7211 is supported using ARCH_BRCMSTB and uses this PWM controller
driver, make it possible to build it.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/Kconfig

index 5d8dcccd26cadc6e37f97f73c811412f71bfad62..30190beeb6e9c18e81344dff8573de520da2fab8 100644 (file)
@@ -100,7 +100,7 @@ config PWM_BCM_KONA
 
 config PWM_BCM2835
        tristate "BCM2835 PWM support"
-       depends on ARCH_BCM2835
+       depends on ARCH_BCM2835 || ARCH_BRCMSTB
        help
          PWM framework driver for BCM2835 controller (Raspberry Pi)