aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/i2c-omap.h
diff options
context:
space:
mode:
authorPaul Walmsley <paul@pwsan.com>2010-09-21 19:37:15 +0530
committerKevin Hilman <khilman@deeprootsystems.com>2010-11-09 09:31:10 -0800
commit4d17aeb1c5b2375769446d13012a98e6d265ec13 (patch)
tree1d74a8df0af5d774d27b4bffe2728d0f9ac7abfe /include/linux/i2c-omap.h
parentf776471f620a07be234f40288a1fd9932d039e26 (diff)
downloadkernel_samsung_aries-4d17aeb1c5b2375769446d13012a98e6d265ec13.zip
kernel_samsung_aries-4d17aeb1c5b2375769446d13012a98e6d265ec13.tar.gz
kernel_samsung_aries-4d17aeb1c5b2375769446d13012a98e6d265ec13.tar.bz2
OMAP: I2C: split device registration and convert OMAP2+ to omap_device
Split the OMAP1 and OMAP2+ platform_device build and register code. Convert the OMAP2+ variant to use omap_device. This patch was developed in collaboration with Rajendra Nayak <rnayak@ti.com>. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Rajendra Nayak <rnayak@ti.com> Cc: Kevin Hilman <khilman@deeprootsystems.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'include/linux/i2c-omap.h')
-rw-r--r--include/linux/i2c-omap.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/i2c-omap.h b/include/linux/i2c-omap.h
index 78ebf50..7472449 100644
--- a/include/linux/i2c-omap.h
+++ b/include/linux/i2c-omap.h
@@ -1,9 +1,14 @@
#ifndef __I2C_OMAP_H__
#define __I2C_OMAP_H__
+#include <linux/platform_device.h>
+
struct omap_i2c_bus_platform_data {
u32 clkrate;
void (*set_mpu_wkup_lat)(struct device *dev, long set);
+ int (*device_enable) (struct platform_device *pdev);
+ int (*device_shutdown) (struct platform_device *pdev);
+ int (*device_idle) (struct platform_device *pdev);
};
#endif