]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
pinctrl: aspeed: Enable compile testing outside of ARCH_ASPEED
authorKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Fri, 10 Apr 2026 13:04:57 +0000 (15:04 +0200)
committerLinus Walleij <linusw@kernel.org>
Tue, 28 Apr 2026 09:09:41 +0000 (11:09 +0200)
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 <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: Linus Walleij <linusw@kernel.org>
drivers/pinctrl/Makefile

index b054cfb993488287fd82ec265d8ee468a956665e..9320ffae5f31882811c4edf76fbb9857b4b13ff7 100644 (file)
@@ -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/