soc/tegra: Make regulator couplers depend on CONFIG_REGULATOR
authorDmitry Osipenko <digetx@gmail.com>
Wed, 21 Jul 2021 23:26:16 +0000 (02:26 +0300)
committerArnd Bergmann <arnd@arndb.de>
Mon, 2 Aug 2021 12:30:46 +0000 (14:30 +0200)
commita4282f66d90e93aacfe1b19509fd5851bf95be68
treeeabd41afebd85f0e00f2262ecce8f3518b188580
parent79e48a21045e6f2ccd9f59737685336d9ad75d54
soc/tegra: Make regulator couplers depend on CONFIG_REGULATOR

The regulator coupler drivers now use regulator-driver API function that
isn't available during compile-testing. Make regulator coupler drivers
dependent on CONFIG_REGULATOR in Kconfig.

Fixes: 03978d42ed0d ("soc/tegra: regulators: Bump voltages on system reboot")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/soc/tegra/Kconfig