/drivers/include/linux/i2c.h |
---|
408,4 → 408,7 |
#define I2C_SMBUS_BLOCK_PROC_CALL 7 /* SMBus 2.0 */ |
#define I2C_SMBUS_I2C_BLOCK_DATA 8 |
#define i2c_add_adapter(x) 0 |
#define i2c_del_adapter(x) |
#endif /* _LINUX_I2C_H */ |
/drivers/include/linux/wait.h |
---|
1,6 → 1,8 |
#ifndef _LINUX_WAIT_H |
#define _LINUX_WAIT_H |
#include <syscall.h> |
typedef struct __wait_queue wait_queue_t; |
typedef struct __wait_queue_head wait_queue_head_t; |
68,6 → 70,8 |
__ret; \ |
}) |
#define wait_event_interruptible_timeout(wq, condition, timeout) \ |
wait_event_timeout(wq, condition, timeout) |
#define wait_event(wq, condition) \ |