Commit 4333e030 authored by Dmitry Osipenko's avatar Dmitry Osipenko Committed by Thierry Reding

soc/tegra: Add stub for soc_is_tegra()

Add stub required for compile-testing of drivers.
Signed-off-by: default avatarDmitry Osipenko <digetx@gmail.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 03978d42
......@@ -6,6 +6,15 @@
#ifndef __SOC_TEGRA_COMMON_H__
#define __SOC_TEGRA_COMMON_H__
#include <linux/types.h>
#ifdef CONFIG_ARCH_TEGRA
bool soc_is_tegra(void);
#else
static inline bool soc_is_tegra(void)
{
return false;
}
#endif
#endif /* __SOC_TEGRA_COMMON_H__ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment