[v3,08/13] clk: tegra: Add missing stubs for the case of !CONFIG_PM_SLEEP
diff mbox series

Message ID 20190715172629.4437-9-digetx@gmail.com
State New
Headers show
  • Consolidate and improve NVIDIA Tegra CPUIDLE driver(s)
Related show

Commit Message

Dmitry Osipenko July 15, 2019, 5:26 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);