Kalle Jokiniemi | 20c9d2c | 2010-05-11 11:35:08 -0700 | [diff] [blame] | 1 | #ifndef __I2C_OMAP_H__ |
| 2 | #define __I2C_OMAP_H__ |
| 3 | |
Paul Walmsley | 4d17aeb | 2010-09-21 19:37:15 +0530 | [diff] [blame] | 4 | #include <linux/platform_device.h> |
| 5 | |
Kalle Jokiniemi | 20c9d2c | 2010-05-11 11:35:08 -0700 | [diff] [blame] | 6 | struct omap_i2c_bus_platform_data { |
| 7 | u32 clkrate; |
| 8 | void (*set_mpu_wkup_lat)(struct device *dev, long set); |
Paul Walmsley | 4d17aeb | 2010-09-21 19:37:15 +0530 | [diff] [blame] | 9 | int (*device_enable) (struct platform_device *pdev); |
| 10 | int (*device_shutdown) (struct platform_device *pdev); |
| 11 | int (*device_idle) (struct platform_device *pdev); |
Kalle Jokiniemi | 20c9d2c | 2010-05-11 11:35:08 -0700 | [diff] [blame] | 12 | }; |
| 13 | |
| 14 | #endif |