Skip to content

Commit a4b3c62

Browse files
arndbchanwoochoi
authored andcommitted
PM / devfreq: sun8i: addd COMMON_CLK dependency
Compile-testing the driver without CONFIG_COMMON_CLK causes a link failure: arm-linux-gnueabi-ld: drivers/devfreq/sun8i-a33-mbus.o: in function `sun8i_a33_mbus_remove': sun8i-a33-mbus.c:(.text+0x450): undefined reference to `clk_rate_exclusive_put' arm-linux-gnueabi-ld: sun8i-a33-mbus.c:(.text+0x460): undefined reference to `clk_rate_exclusive_put' arm-linux-gnueabi-ld: drivers/devfreq/sun8i-a33-mbus.o: in function `sun8i_a33_mbus_probe': sun8i-a33-mbus.c:(.text+0x85c): undefined reference to `clk_rate_exclusive_get' arm-linux-gnueabi-ld: sun8i-a33-mbus.c:(.text+0x878): undefined reference to `clk_rate_exclusive_get' Fixes: 8bfd485 ("PM / devfreq: Add a driver for the sun8i/sun50i MBUS") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
1 parent 8bfd485 commit a4b3c62

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/devfreq/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ config ARM_RK3399_DMC_DEVFREQ
135135
config ARM_SUN8I_A33_MBUS_DEVFREQ
136136
tristate "sun8i/sun50i MBUS DEVFREQ Driver"
137137
depends on ARCH_SUNXI || COMPILE_TEST
138+
depends on COMMON_CLK
138139
select DEVFREQ_GOV_SIMPLE_ONDEMAND
139140
help
140141
This adds the DEVFREQ driver for the MBUS controller in some

0 commit comments

Comments
 (0)