blob: 40e238f86a8422254dd6b5d4364c065ba14c7f18 [file] [log] [blame]
#ifndef __LINUX_COMPAT_H__
#define __LINUX_COMPAT_H__
#include <malloc.h>
#include <linux/delay.h>
#include <linux/list.h>
#include <linux/compat.h>
#define device_init_wakeup(dev, a) do {} while (0)
#define platform_data device_data
#define msleep(a) udelay(a * 1000)
/*
* Map U-Boot config options to Linux ones
*/
#ifdef CONFIG_OMAP34XX
#define CFG_SOC_OMAP3430
#endif
#endif /* __LINUX_COMPAT_H__ */