summaryrefslogtreecommitdiffstats
path: root/src/soc/nvidia/tegra/types.h
blob: 333013083416499e5cd47a5c3f55683b1b68c169 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef __TEGRA_MISC_TYPES_H__
#define __TEGRA_MISC_TYPES_H__

#define EFAULT		1
#define EINVAL		2
#define ETIMEDOUT	3
#define ENOSPC		4
#define ENOSYS		5
#define EPTR		6

#define IS_ERR_PTR(ptr) \
		(ptr == (void *)-EPTR)

#endif /* __TEGRA_MISC_TYPES_H__ */