From: David Bauer Date: Sat, 12 Jun 2021 22:05:59 +0000 (+0200) Subject: apm821xx: move CONFIG_REGULATOR to target config X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=52ee96c35ccb50b42e656d56e9daef7a4ae10ab1;p=openwrt%2Fstaging%2Fdangole.git apm821xx: move CONFIG_REGULATOR to target config This moves CONFIG_REGULATOR to the target config instead of the subtarget config. For kernel 5.10, CONFIG_AT803X_PHY depends on CONFIG_REGULATOR. As we do not have a size constraint, move this symbol to the target configuration for kernel 5.4 as well as 5.10. Reported-by: Russell Senior Signed-off-by: David Bauer --- diff --git a/target/linux/apm821xx/config-5.10 b/target/linux/apm821xx/config-5.10 index c9c720de29..b729bee903 100644 --- a/target/linux/apm821xx/config-5.10 +++ b/target/linux/apm821xx/config-5.10 @@ -250,6 +250,7 @@ CONFIG_PTE_64BIT=y # CONFIG_RAINIER is not set CONFIG_RAS=y CONFIG_RATIONAL=y +CONFIG_REGULATOR=y CONFIG_RSEQ=y # CONFIG_SAM440EP is not set # CONFIG_SCOM_DEBUGFS is not set diff --git a/target/linux/apm821xx/config-5.4 b/target/linux/apm821xx/config-5.4 index 2b9594c3d4..e47186a444 100644 --- a/target/linux/apm821xx/config-5.4 +++ b/target/linux/apm821xx/config-5.4 @@ -304,6 +304,7 @@ CONFIG_PPC_WERROR=y CONFIG_PTE_64BIT=y # CONFIG_RAINIER is not set CONFIG_RAS=y +CONFIG_REGULATOR=y CONFIG_RSEQ=y # CONFIG_SAM440EP is not set # CONFIG_SCOM_DEBUGFS is not set diff --git a/target/linux/apm821xx/sata/config-default b/target/linux/apm821xx/sata/config-default index db2c5c8a30..c3f41c785b 100644 --- a/target/linux/apm821xx/sata/config-default +++ b/target/linux/apm821xx/sata/config-default @@ -40,5 +40,4 @@ CONFIG_PPC_EARLY_DEBUG_44x=y # CONFIG_PPC_EARLY_DEBUG_MEMCONS is not set CONFIG_PPC_EARLY_DEBUG_44x_PHYSHIGH=0x4 CONFIG_PPC_EARLY_DEBUG_44x_PHYSLOW=0xef600300 -CONFIG_REGULATOR=y CONFIG_REGULATOR_FIXED_VOLTAGE=y