PM / devfreq: tegra20: Relax Kconfig dependency
authorDmitry Osipenko <digetx@gmail.com>
Sun, 25 Oct 2020 22:17:31 +0000 (01:17 +0300)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 26 Oct 2020 03:15:43 +0000 (12:15 +0900)
commitcc2a4e83612040a3dc49966c6c4ac5088ed7037f
tree3964a44be05666cc600a017485eb0ee29037279c
parent9a93386bf667499d71e35051804438fd32dd77a8
PM / devfreq: tegra20: Relax Kconfig dependency

The Tegra EMC driver now could be compiled as a loadable kernel module.
Currently devfreq driver depends on the EMC/MC drivers in Kconfig, and
thus, devfreq is forced to be a kernel module if EMC is compiled as a
module. This build dependency could be relaxed since devfreq driver
checks MC/EMC presence on probe, allowing kernel configuration where
devfreq is a built-in driver and EMC driver is a loadable module.
This change puts Tegra20 devfreq Kconfig entry on a par with the Tegra30
devfreq entry.

Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/devfreq/Kconfig