aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/irq.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-tegra/irq.h')
-rw-r--r--arch/arm/mach-tegra/irq.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/irq.h b/arch/arm/mach-tegra/irq.h
index 5142649bba0..bc05ce5613f 100644
--- a/arch/arm/mach-tegra/irq.h
+++ b/arch/arm/mach-tegra/irq.h
@@ -19,4 +19,10 @@
bool tegra_pending_sgi(void);
+#ifdef CONFIG_PM_SLEEP
+int tegra_legacy_irq_syscore_init(void);
+#else
+static inline int tegra_legacy_irq_syscore_init(void) { return 0; }
+#endif
+
#endif