提交 4333e030 编写于 作者: D Dmitry Osipenko 提交者: Thierry Reding

soc/tegra: Add stub for soc_is_tegra()

Add stub required for compile-testing of drivers.
Signed-off-by: NDmitry Osipenko <digetx@gmail.com>
Signed-off-by: NThierry Reding <treding@nvidia.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册