diff mbox series

[v5,09/14] clk: tegra: Add missing stubs for the case of !CONFIG_PM_SLEEP

Message ID 20190929175952.22690-10-digetx@gmail.com
State Changes Requested
Headers show
Series Consolidate and improve NVIDIA Tegra CPUIDLE driver(s) | expand

Commit Message

Dmitry Osipenko Sept. 29, 2019, 5:59 p.m. UTC
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>
 include/linux/clk/tegra.h | 13 +++++++++++++
 1 file changed, 13 insertions(+)
diff mbox series


diff --git a/include/linux/clk/tegra.h b/include/linux/clk/tegra.h
index b8aef62cc3f5..cf0f2cb5e109 100644
--- a/include/linux/clk/tegra.h
+++ b/include/linux/clk/tegra.h
@@ -108,6 +108,19 @@  static inline void tegra_cpu_clock_resume(void)
+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)
 extern void tegra210_xusb_pll_hw_control_enable(void);