From 9c16c46e58b9758a91ba68d8acea052a5375546f Mon Sep 17 00:00:00 2001 From: Hannu Nyman Date: Wed, 17 Jun 2020 20:11:06 +0300 Subject: [PATCH] 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 [rearrange commit message] Signed-off-by: Adrian Schmutzler --- target/linux/ath79/config-4.19 | 1 + target/linux/ath79/config-5.4 | 1 + 2 files changed, 2 insertions(+) diff --git a/target/linux/ath79/config-4.19 b/target/linux/ath79/config-4.19 index 81fd017abab..92af6ba970f 100644 --- a/target/linux/ath79/config-4.19 +++ b/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 diff --git a/target/linux/ath79/config-5.4 b/target/linux/ath79/config-5.4 index b458edce1e4..449f42bba75 100644 --- a/target/linux/ath79/config-5.4 +++ b/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