mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
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>
This commit is contained in:
committed by
Thierry Reding
parent
45e934407b
commit
aa54686e28
@@ -6,8 +6,15 @@
|
|||||||
#ifndef __SOC_TEGRA_IRQ_H
|
#ifndef __SOC_TEGRA_IRQ_H
|
||||||
#define __SOC_TEGRA_IRQ_H
|
#define __SOC_TEGRA_IRQ_H
|
||||||
|
|
||||||
#if defined(CONFIG_ARM)
|
#include <linux/types.h>
|
||||||
|
|
||||||
|
#if defined(CONFIG_ARM) && defined(CONFIG_ARCH_TEGRA)
|
||||||
bool tegra_pending_sgi(void);
|
bool tegra_pending_sgi(void);
|
||||||
|
#else
|
||||||
|
static inline bool tegra_pending_sgi(void)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* __SOC_TEGRA_IRQ_H */
|
#endif /* __SOC_TEGRA_IRQ_H */
|
||||||
|
Reference in New Issue
Block a user