diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2010-11-18 09:14:05 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-11-18 09:14:08 +0100 |
commit | 820873b5d6053ac2c355f1c1e31b89e3f42f2e9a (patch) | |
tree | 437967b01c81dfceddf58e8b458133fbd4fe8757 /arch/arm/mach-imx/devices.c | |
parent | f90e136aa22ab13a3a8a321ae00e013d489a9f81 (diff) | |
download | barebox-820873b5d6053ac2c355f1c1e31b89e3f42f2e9a.tar.gz barebox-820873b5d6053ac2c355f1c1e31b89e3f42f2e9a.tar.xz |
i.MX device macros: Fix esdhci
The patch introducing device macros for i.MX accidently registered a
imx-mmc device for i.MX25/35/51. It should be a imx-esdhc device. This
patch fixes tis
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx/devices.c')
-rw-r--r-- | arch/arm/mach-imx/devices.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/devices.c b/arch/arm/mach-imx/devices.c index 11cf2a47ac..0395b0e572 100644 --- a/arch/arm/mach-imx/devices.c +++ b/arch/arm/mach-imx/devices.c @@ -57,3 +57,8 @@ struct device_d *imx_add_mmc(void *base, int id, void *pdata) { return imx_add_device("imx-mmc", id, base, 0x1000, pdata); } + +struct device_d *imx_add_esdhc(void *base, int id, void *pdata) +{ + return imx_add_device("imx-esdhc", id, base, 0x1000, pdata); +} |