aboutsummaryrefslogtreecommitdiffstats
path: root/include/compat/linux/of.h
blob: c5dc87c2ef64fe4d78bc4ffd28bae93ac51e5e0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef _COMPAT_LINUX_OF_H
#define _COMPAT_LINUX_OF_H 1

#include <linux/version.h>

#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,34))
#include_next <linux/of.h>
#else

#ifdef CONFIG_OF
#include_next <linux/of.h>
#endif /* CONFIG_OF */

#endif /* (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,34)) */

#endif	/* _COMPAT_LINUX_OF_H */