mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-09 15:29:16 +00:00
4333e03000
Add stub required for compile-testing of drivers. Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
21 lines
339 B
C
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__ */
|