Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

soc/tegra: irq: Add stubs needed for compile testing

Add stubs needed for compile-testing of tegra-cpuidle driver.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>

authored by

Dmitry Osipenko and committed by
Thierry Reding
aa54686e 45e93440

+8 -1
+8 -1
include/soc/tegra/irq.h
··· 6 6 #ifndef __SOC_TEGRA_IRQ_H 7 7 #define __SOC_TEGRA_IRQ_H 8 8 9 - #if defined(CONFIG_ARM) 9 + #include <linux/types.h> 10 + 11 + #if defined(CONFIG_ARM) && defined(CONFIG_ARCH_TEGRA) 10 12 bool tegra_pending_sgi(void); 13 + #else 14 + static inline bool tegra_pending_sgi(void) 15 + { 16 + return false; 17 + } 11 18 #endif 12 19 13 20 #endif /* __SOC_TEGRA_IRQ_H */