aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mxs/include/mach/devices-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-mxs/include/mach/devices-common.h')
-rw-r--r--arch/arm/mach-mxs/include/mach/devices-common.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-mxs/include/mach/devices-common.h b/arch/arm/mach-mxs/include/mach/devices-common.h
index d460d304555..71f24484b04 100644
--- a/arch/arm/mach-mxs/include/mach/devices-common.h
+++ b/arch/arm/mach-mxs/include/mach/devices-common.h
@@ -64,6 +64,15 @@ struct platform_device *__init mxs_add_flexcan(
64 const struct mxs_flexcan_data *data, 64 const struct mxs_flexcan_data *data,
65 const struct flexcan_platform_data *pdata); 65 const struct flexcan_platform_data *pdata);
66 66
67/* i2c */
68struct mxs_i2c_data {
69 int id;
70 resource_size_t iobase;
71 resource_size_t errirq;
72 resource_size_t dmairq;
73};
74struct platform_device * __init mxs_add_mxs_i2c(const struct mxs_i2c_data *data);
75
67/* pwm */ 76/* pwm */
68struct platform_device *__init mxs_add_mxs_pwm( 77struct platform_device *__init mxs_add_mxs_pwm(
69 resource_size_t iobase, int id); 78 resource_size_t iobase, int id);