1 #ifndef __LINUX_COMPAT_H__
2 #define __LINUX_COMPAT_H__
5 #include <linux/delay.h>
6 #include <linux/list.h>
7 #include <linux/compat.h>
9 #define device_init_wakeup(dev, a) do {} while (0)
11 #define platform_data device_data
13 #define msleep(a) udelay(a * 1000)
16 * Map U-Boot config options to Linux ones
18 #ifdef CONFIG_OMAP34XX
19 #define CFG_SOC_OMAP3430
22 #ifdef CONFIG_OMAP44XX
23 #define CFG_ARCH_OMAP4
26 #endif /* __LINUX_COMPAT_H__ */