summaryrefslogtreecommitdiff
path: root/include/soc/tegra/common.h
blob: 744280ecab5f7e881ab0409cb56eddc01917a44d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* 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__ */