i2c: brcmstb: Allow to compile it on BCM2835
authorMaxime Ripard <maxime@cerno.tech>
Tue, 14 Jan 2020 12:36:42 +0000 (13:36 +0100)
committerpopcornmix <popcornmix@gmail.com>
Wed, 1 Jul 2020 15:33:32 +0000 (16:33 +0100)
The BCM2711, supported by ARCH_BCM2835, also has a controller by the
brcmstb driver so let's allow it to be compiled on that platform.

Cc: Kamal Dasu <kdasu.kdev@gmail.com>
Cc: Wolfram Sang <wsa@the-dreams.de>
Cc: bcm-kernel-feedback-list@broadcom.com
Cc: linux-i2c@vger.kernel.org
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
drivers/i2c/busses/Kconfig

index c9ae45f..1291bda 100644 (file)
@@ -491,8 +491,8 @@ config I2C_BCM_KONA
 
 config I2C_BRCMSTB
        tristate "BRCM Settop/DSL I2C controller"
-       depends on ARCH_BRCMSTB || BMIPS_GENERIC || ARCH_BCM_63XX || \
-                  COMPILE_TEST
+       depends on ARCH_BCM2835 || ARCH_BRCMSTB || BMIPS_GENERIC || \
+                  ARCH_BCM_63XX || COMPILE_TEST
        default y
        help
          If you say yes to this option, support will be included for the