diff options
author | Ben Dooks <ben-linux@fluff.org> | 2010-01-18 02:24:22 -0500 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2010-01-19 03:21:38 -0500 |
commit | 22c810ab3e25d16e6f128384d107b933b6fd8fff (patch) | |
tree | 6cc4c9112b86512d4093dde3e17ab5ec9fdefa90 /arch/arm/mach-s3c2440/mach-mini2440.c | |
parent | 3cd2fff59fc924752611301f4ca7e8484f5744a5 (diff) |
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) | |||
528 | s3c24xx_init_io(mini2440_iodesc, ARRAY_SIZE(mini2440_iodesc)); | 528 | s3c24xx_init_io(mini2440_iodesc, ARRAY_SIZE(mini2440_iodesc)); |
529 | s3c24xx_init_clocks(12000000); | 529 | s3c24xx_init_clocks(12000000); |
530 | s3c24xx_init_uarts(mini2440_uartcfgs, ARRAY_SIZE(mini2440_uartcfgs)); | 530 | s3c24xx_init_uarts(mini2440_uartcfgs, ARRAY_SIZE(mini2440_uartcfgs)); |
531 | |||
532 | s3c_device_sdi.dev.platform_data = &mini2440_mmc_cfg; | ||
533 | } | 531 | } |
534 | 532 | ||
535 | /* | 533 | /* |
@@ -675,6 +673,7 @@ static void __init mini2440_init(void) | |||
675 | } | 673 | } |
676 | 674 | ||
677 | s3c24xx_udc_set_platdata(&mini2440_udc_cfg); | 675 | s3c24xx_udc_set_platdata(&mini2440_udc_cfg); |
676 | s3c24xx_mci_set_platdata(&mini2440_mmc_cfg); | ||
678 | s3c_nand_set_platdata(&mini2440_nand_info); | 677 | s3c_nand_set_platdata(&mini2440_nand_info); |
679 | s3c_i2c0_set_platdata(NULL); | 678 | s3c_i2c0_set_platdata(NULL); |
680 | 679 | ||