Browse Source

ath79: define CONFIG_MFD_RB4XX_CPLD to fix build breakage

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 <[email protected]>
[rearrange commit message]
Signed-off-by: Adrian Schmutzler <[email protected]>
Hannu Nyman 5 years ago
parent
commit
9c16c46e58
2 changed files with 2 additions and 0 deletions
  1. 1 0
      target/linux/ath79/config-4.19
  2. 1 0
      target/linux/ath79/config-5.4

+ 1 - 0
target/linux/ath79/config-4.19

@@ -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

+ 1 - 0
target/linux/ath79/config-5.4

@@ -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