PM / devfreq: tegra: Add COMMON_CLK dependency
authorArnd Bergmann <arnd@arndb.de>
Thu, 12 Dec 2019 01:56:31 +0000 (10:56 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 23 Dec 2019 01:42:58 +0000 (10:42 +0900)
commit5fdb0684b5b0f41402161f068d3d84bf6ed1c3f4
tree0603d52c352f86643f1d5795497360e947a7fc5b
parent996fa477d118a11e63f77fbb393173560e5a655d
PM / devfreq: tegra: Add COMMON_CLK dependency

Compile-testing this driver fails if CONFIG_COMMON_CLK is not set:

drivers/devfreq/tegra30-devfreq.o: In function `tegra_devfreq_target':
tegra30-devfreq.c:(.text+0x164): undefined reference to `clk_set_min_rate'

Fixes: 35f8dbc72721 ("PM / devfreq: tegra: Enable COMPILE_TEST for the driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/devfreq/Kconfig