summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mmc/omap3_mmc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/omap3_mmc.c b/drivers/mmc/omap3_mmc.c
index 4eda2160e3a..9506cca2181 100644
--- a/drivers/mmc/omap3_mmc.c
+++ b/drivers/mmc/omap3_mmc.c
@@ -55,9 +55,9 @@ mmc_card_data cur_card_data;
static block_dev_desc_t mmc_blk_dev;
static hsmmc_t *mmc_base = (hsmmc_t *)OMAP_HSMMC1_BASE;
-unsigned char mmc_set_dev(int dev)
+int mmc_set_dev(int dev_num)
{
- switch (dev) {
+ switch (dev_num) {
case 1:
mmc_base = (hsmmc_t *)OMAP_HSMMC1_BASE;
break;