ath79: define CONFIG_MFD_RB4XX_CPLD to fix build breakage
authorHannu Nyman <hannu.nyman@iki.fi>
Wed, 17 Jun 2020 17:11:06 +0000 (20:11 +0300)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Wed, 17 Jun 2020 17:50:54 +0000 (19:50 +0200)
Define the kernel config symbol CONFIG_MFD_RB4XX_CPLD=n
to fix build breakage on non-mikrotik targets.

The driver was added for all ath79, but the symbol was only
defined for mikrotik subtarget.

Fixes: fa70b3a4bbc6 ("ath79: add Mikrotik rb4xx series drivers")
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
[rearrange commit message]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/ath79/config-4.19
target/linux/ath79/config-5.4

index 81fd017ababf9ca77b55daaecfd663d10405eba9..92af6ba970f7ec5de92d8b4a315ba16c99512aac 100644 (file)
@@ -139,6 +139,7 @@ CONFIG_MDIO_BUS=y
 CONFIG_MDIO_DEVICE=y
 CONFIG_MDIO_GPIO=y
 CONFIG_MEMFD_CREATE=y
+# CONFIG_MFD_RB4XX_CPLD is not set
 CONFIG_MFD_SYSCON=y
 CONFIG_MIGRATION=y
 CONFIG_MIPS=y
index b458edce1e4673e6a10801c03d8df14129580dcc..449f42bba75c43df7686d001f3d8c08163cd7f12 100644 (file)
@@ -148,6 +148,7 @@ CONFIG_MDIO_BUS=y
 CONFIG_MDIO_DEVICE=y
 CONFIG_MDIO_GPIO=y
 CONFIG_MEMFD_CREATE=y
+# CONFIG_MFD_RB4XX_CPLD is not set
 CONFIG_MFD_SYSCON=y
 CONFIG_MIGRATION=y
 CONFIG_MIPS=y