From: Krzysztof Kozlowski Date: Fri, 10 Apr 2026 13:04:57 +0000 (+0200) Subject: pinctrl: aspeed: Enable compile testing outside of ARCH_ASPEED X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=0e6ba181b7982bd82a92698d2c8eec621d4eef9d;p=thirdparty%2Fkernel%2Flinux.git pinctrl: aspeed: Enable compile testing outside of ARCH_ASPEED Since inception in commit 4d3d0e4272d8 ("pinctrl: Add core support for Aspeed SoCs"), the Aspeed pin controller drivers cannot be compile tested, unless ARCH_ASPEED is selected. . That partially defeats the purpose of compile testing, since ARCH_ASPEED is pulled when building platform kernels. Signed-off-by: Krzysztof Kozlowski Signed-off-by: Linus Walleij --- diff --git a/drivers/pinctrl/Makefile b/drivers/pinctrl/Makefile index b054cfb993488..9320ffae5f318 100644 --- a/drivers/pinctrl/Makefile +++ b/drivers/pinctrl/Makefile @@ -66,7 +66,7 @@ obj-$(CONFIG_PINCTRL_ZYNQMP) += pinctrl-zynqmp.o obj-$(CONFIG_PINCTRL_ZYNQ) += pinctrl-zynq.o obj-y += actions/ -obj-$(CONFIG_ARCH_ASPEED) += aspeed/ +obj-$(CONFIG_PINCTRL_ASPEED) += aspeed/ obj-y += bcm/ obj-$(CONFIG_PINCTRL_BERLIN) += berlin/ obj-y += cirrus/