aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorKarl Mehltretter <kmehltretter@gmail.com>2026-07-12 18:03:01 +0200
committerBrian Masney <bmasney@redhat.com>2026-09-17 11:23:30 -0400
commit4457ee2f99f7286d037ccde8c107481b6105fc15 (patch)
tree9c08a0de1c9bf9c2c74932ca81140719ede87e29 /scripts/Makefile.thinlto
parentclk: milbeaut: Return divider update timeouts (diff)
clk: aspeed: ast2700: select AUXILIARY_BUS
The AST2700 clock driver also exposes the SoC reset controller: it hands its register base to a reset auxiliary device via devm_auxiliary_device_create(), which the separate ASPEED reset driver (RESET_ASPEED) then binds to. That create call needs the auxiliary bus core (AUXILIARY_BUS), not the reset driver itself, but COMMON_CLK_AST2700 does not select AUXILIARY_BUS. It builds today only because RESET_ASPEED selects AUXILIARY_BUS and is normally enabled alongside the clock driver. On a randconfig with COMMON_CLK_AST2700=y and RESET_ASPEED=n, nothing pulls the auxiliary bus in and the kernel fails to link: ld: drivers/clk/aspeed/clk-ast2700.o: in function `ast2700_soc_clk_probe': clk-ast2700.c:(.text+0x147c): undefined reference to `__devm_auxiliary_device_create' Select AUXILIARY_BUS directly, as other clock drivers that create auxiliary devices do, so it builds regardless of the reset driver. Fixes: fdc1eb624ddc ("clk: aspeed: add AST2700 clock driver") Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com> Reviewed-by: Brian Masney <bmasney@redhat.com> Reviewed-by: Andrew Jeffery <andrew@codeconstruct.com.au> Signed-off-by: Brian Masney <bmasney@redhat.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions