Skip to content

Commit

Permalink
ath79: define CONFIG_MFD_RB4XX_CPLD to fix build breakage
Browse files Browse the repository at this point in the history
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: fa70b3a ("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>
  • Loading branch information
hnyman authored and adschm committed Jun 17, 2020
1 parent 8e98613 commit 9c16c46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions target/linux/ath79/config-4.19
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions target/linux/ath79/config-5.4
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9c16c46

Please sign in to comment.