mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-20 03:36:42 +07:00
clk: tegra: Add missing stubs for the case of !CONFIG_PM_SLEEP
The new CPUIDLE driver uses the Tegra's CLK API and that driver won't strictly depend on CONFIG_PM_SLEEP, hence add the required stubs in order to allow compiling of the new driver with the CONFIG_PM_SLEEP=n. Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
parent
204ce75b89
commit
5699d16055
@ -108,6 +108,19 @@ static inline void tegra_cpu_clock_resume(void)
|
||||
|
||||
tegra_cpu_car_ops->resume();
|
||||
}
|
||||
#else
|
||||
static inline bool tegra_cpu_rail_off_ready(void)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
static inline void tegra_cpu_clock_suspend(void)
|
||||
{
|
||||
}
|
||||
|
||||
static inline void tegra_cpu_clock_resume(void)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
extern void tegra210_xusb_pll_hw_control_enable(void);
|
||||
|
Loading…
Reference in New Issue
Block a user