Skip to content

Commit

Permalink
soc/tegra: irq: Add stubs needed for compile testing
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dmitry Osipenko authored and Thierry Reding committed Oct 4, 2021
1 parent 45e9344 commit aa54686
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion include/soc/tegra/irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,15 @@
#ifndef __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);
#else
static inline bool tegra_pending_sgi(void)
{
return false;
}
#endif

#endif /* __SOC_TEGRA_IRQ_H */

0 comments on commit aa54686

Please sign in to comment.