a21035b69be441a2bd1b0d298bb1895814857703
[openwrt/openwrt.git] / target / linux / bcm27xx / patches-5.4 / 950-0516-i2c-brcmstb-Allow-to-compile-it-on-BCM2835.patch
1 From ec7414dd69a7ea701d0d5676fdb32332cd5f10ec Mon Sep 17 00:00:00 2001
2 From: Maxime Ripard <maxime@cerno.tech>
3 Date: Tue, 14 Jan 2020 13:36:42 +0100
4 Subject: [PATCH] i2c: brcmstb: Allow to compile it on BCM2835
5
6 The BCM2711, supported by ARCH_BCM2835, also has a controller by the
7 brcmstb driver so let's allow it to be compiled on that platform.
8
9 Cc: Kamal Dasu <kdasu.kdev@gmail.com>
10 Cc: Wolfram Sang <wsa@the-dreams.de>
11 Cc: bcm-kernel-feedback-list@broadcom.com
12 Cc: linux-i2c@vger.kernel.org
13 Acked-by: Florian Fainelli <f.fainelli@gmail.com>
14 Signed-off-by: Maxime Ripard <maxime@cerno.tech>
15 ---
16 drivers/i2c/busses/Kconfig | 4 ++--
17 1 file changed, 2 insertions(+), 2 deletions(-)
18
19 --- a/drivers/i2c/busses/Kconfig
20 +++ b/drivers/i2c/busses/Kconfig
21 @@ -491,8 +491,8 @@ config I2C_BCM_KONA
22
23 config I2C_BRCMSTB
24 tristate "BRCM Settop/DSL I2C controller"
25 - depends on ARCH_BRCMSTB || BMIPS_GENERIC || ARCH_BCM_63XX || \
26 - COMPILE_TEST
27 + depends on ARCH_BCM2835 || ARCH_BRCMSTB || BMIPS_GENERIC || \
28 + ARCH_BCM_63XX || COMPILE_TEST
29 default y
30 help
31 If you say yes to this option, support will be included for the