mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-18 03:06:43 +00:00
soc/tegra: Add stub for soc_is_tegra()
Add stub required for compile-testing of drivers. Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
parent
03978d42ed
commit
4333e03000
@ -6,6 +6,15 @@
|
|||||||
#ifndef __SOC_TEGRA_COMMON_H__
|
#ifndef __SOC_TEGRA_COMMON_H__
|
||||||
#define __SOC_TEGRA_COMMON_H__
|
#define __SOC_TEGRA_COMMON_H__
|
||||||
|
|
||||||
|
#include <linux/types.h>
|
||||||
|
|
||||||
|
#ifdef CONFIG_ARCH_TEGRA
|
||||||
bool soc_is_tegra(void);
|
bool soc_is_tegra(void);
|
||||||
|
#else
|
||||||
|
static inline bool soc_is_tegra(void)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* __SOC_TEGRA_COMMON_H__ */
|
#endif /* __SOC_TEGRA_COMMON_H__ */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user