diff options
author | Eric Bénard <eric@eukrea.com> | 2010-10-12 07:12:32 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-10-19 12:45:00 -0400 |
commit | c074512905c0a08be2a91670bdd69cd1de4e2823 (patch) | |
tree | 49b5f93768a22e4867d69999c0d136b9a248f063 /arch/arm/plat-mxc/include/mach/devices-common.h | |
parent | 6a001b886c8c4ff7477a3692a2d87a9dbdd860ee (diff) |
imx-esdhc: update devices registration
Tested on i.MX25 and i.MX35 and i.MX51
Signed-off-by: Eric Bénard <eric@eukrea.com>
Diffstat (limited to 'arch/arm/plat-mxc/include/mach/devices-common.h')
-rw-r--r-- | arch/arm/plat-mxc/include/mach/devices-common.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/arch/arm/plat-mxc/include/mach/devices-common.h b/arch/arm/plat-mxc/include/mach/devices-common.h index 049897880403..86d7575a564d 100644 --- a/arch/arm/plat-mxc/include/mach/devices-common.h +++ b/arch/arm/plat-mxc/include/mach/devices-common.h | |||
@@ -108,7 +108,11 @@ struct platform_device *__init imx_add_spi_imx( | |||
108 | const struct spi_imx_master *pdata); | 108 | const struct spi_imx_master *pdata); |
109 | 109 | ||
110 | #include <mach/esdhc.h> | 110 | #include <mach/esdhc.h> |
111 | struct platform_device *__init imx_add_esdhc(int id, | 111 | struct imx_esdhc_imx_data { |
112 | resource_size_t iobase, resource_size_t iosize, | 112 | int id; |
113 | resource_size_t irq, | 113 | resource_size_t iobase; |
114 | resource_size_t irq; | ||
115 | }; | ||
116 | struct platform_device *__init imx_add_esdhc( | ||
117 | const struct imx_esdhc_imx_data *data, | ||
114 | const struct esdhc_platform_data *pdata); | 118 | const struct esdhc_platform_data *pdata); |