1 #ifndef __LINUX_COMPAT_H__
2 #define __LINUX_COMPAT_H__
3 
4 #include <malloc.h>
5 #include <linux/delay.h>
6 #include <linux/list.h>
7 #include <linux/compat.h>
8 
9 #define device_init_wakeup(dev, a) do {} while (0)
10 
11 #define platform_data device_data
12 
13 #define msleep(a)	udelay(a * 1000)
14 
15 /*
16  * Map U-Boot config options to Linux ones
17  */
18 #ifdef CONFIG_OMAP34XX
19 #define CONFIG_SOC_OMAP3430
20 #endif
21 
22 #ifdef CONFIG_OMAP44XX
23 #define CONFIG_ARCH_OMAP4
24 #endif
25 
26 #endif /* __LINUX_COMPAT_H__ */
27