Dmitry Osipenko 4333e03000 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>
2021-06-01 12:14:44 +02:00

21 lines
339 B
C

/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (C) 2014 NVIDIA Corporation
*/
#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__ */