Skip to content

Commit

Permalink
Merge branch 'mxs/fixes' of git://git.linaro.org/people/shawnguo/linu…
Browse files Browse the repository at this point in the history
…x-2.6 into fixes
  • Loading branch information
Olof Johansson committed Nov 9, 2011
2 parents 19e0baf + e94e05e commit 22d3832
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/arm/mach-mxs/mach-mx28evk.c
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,8 @@ static void __init mx28evk_init(void)
"mmc0-slot-power");
if (ret)
pr_warn("failed to request gpio mmc0-slot-power: %d\n", ret);
mx28_add_mxs_mmc(0, &mx28evk_mmc_pdata[0]);
else
mx28_add_mxs_mmc(0, &mx28evk_mmc_pdata[0]);

ret = gpio_request_one(MX28EVK_MMC1_SLOT_POWER, GPIOF_OUT_INIT_LOW,
"mmc1-slot-power");
Expand All @@ -480,7 +481,6 @@ static void __init mx28evk_init(void)
else
mx28_add_mxs_mmc(1, &mx28evk_mmc_pdata[1]);

mx28_add_mxs_mmc(1, &mx28evk_mmc_pdata[1]);
mx28_add_rtc_stmp3xxx();

gpio_led_register_device(0, &mx28evk_led_data);
Expand Down

0 comments on commit 22d3832

Please sign in to comment.