diff options
author | Ben Dooks <ben-linux@fluff.org> | 2010-01-18 16:24:22 +0900 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2010-01-19 17:21:38 +0900 |
commit | 22c810ab3e25d16e6f128384d107b933b6fd8fff (patch) | |
tree | 6cc4c9112b86512d4093dde3e17ab5ec9fdefa90 /arch/arm/mach-s3c2440/mach-mini2440.c | |
parent | 3cd2fff59fc924752611301f4ca7e8484f5744a5 (diff) | |
download | blackbird-op-linux-22c810ab3e25d16e6f128384d107b933b6fd8fff.tar.gz blackbird-op-linux-22c810ab3e25d16e6f128384d107b933b6fd8fff.zip |
ARM: S3C24XX: Add mci platform data set call s3c24xx_mci_set_platdata().
Add a s3c24xx_mci_set_platdata() call for all the machine files that have
platform data for the MCI driver. This brings the MCI device into line with
the other devices with __initdata and a specific call to ensure the right
structure type is being passed.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/mach-s3c2440/mach-mini2440.c')
-rw-r--r-- | arch/arm/mach-s3c2440/mach-mini2440.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-s3c2440/mach-mini2440.c b/arch/arm/mach-s3c2440/mach-mini2440.c index 65ea3b5ee4fd..571b17683d96 100644 --- a/arch/arm/mach-s3c2440/mach-mini2440.c +++ b/arch/arm/mach-s3c2440/mach-mini2440.c @@ -528,8 +528,6 @@ static void __init mini2440_map_io(void) s3c24xx_init_io(mini2440_iodesc, ARRAY_SIZE(mini2440_iodesc)); s3c24xx_init_clocks(12000000); s3c24xx_init_uarts(mini2440_uartcfgs, ARRAY_SIZE(mini2440_uartcfgs)); - - s3c_device_sdi.dev.platform_data = &mini2440_mmc_cfg; } /* @@ -675,6 +673,7 @@ static void __init mini2440_init(void) } s3c24xx_udc_set_platdata(&mini2440_udc_cfg); + s3c24xx_mci_set_platdata(&mini2440_mmc_cfg); s3c_nand_set_platdata(&mini2440_nand_info); s3c_i2c0_set_platdata(NULL); |