]> git.ipfire.org Git - thirdparty/linux.git/commit
clk: amlogic: axg-audio: fix Kconfig dependency on RESET_MESON_AUX
authorArnd Bergmann <arnd@arndb.de>
Mon, 11 Nov 2024 10:29:21 +0000 (11:29 +0100)
committerStephen Boyd <sboyd@kernel.org>
Thu, 14 Nov 2024 20:33:10 +0000 (12:33 -0800)
commit681ed497d676db1677605b2f9deacf2ab2cba040
treecfcedfd7c02c3175b7e27c09c60266dd7312ff4f
parentc601478bf02e124744308bca3618e07ad8a8208d
clk: amlogic: axg-audio: fix Kconfig dependency on RESET_MESON_AUX

As in most cases, using 'imply' is wrong here and does not prevent
build failures since that code may not be visible to a built-in
clk driver:

axg-audio.c:(.text+0x15c): undefined reference to `devm_meson_rst_aux_register'

Replace the incorrt 'imply' with the necessary 'depends on'.

Fixes: 664988eb47dd ("clk: amlogic: axg-audio: use the auxiliary reset driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20241111102932.3209861-1-arnd@kernel.org
Reviewed-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/meson/Kconfig