From: Mike Frysinger Date: Sun, 26 Feb 2012 18:50:45 +0000 (-0500) Subject: Blackfin: bfin_sdh: drop dos part hardcode X-Git-Tag: v2012.07-rc1~149^2~3^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=51d0f7c694816e459aff81816502d72619c9feb3;p=kernel%2Fu-boot.git Blackfin: bfin_sdh: drop dos part hardcode No other driver sets up the part type to DOS in their init, and it doesn't seem to be needed as `mmcinfo` and `mmc part` stll work, so drop it. Reported-by: Marek Vasut Signed-off-by: Mike Frysinger --- diff --git a/drivers/mmc/bfin_sdh.c b/drivers/mmc/bfin_sdh.c index 08fc5c1..8d59d46 100644 --- a/drivers/mmc/bfin_sdh.c +++ b/drivers/mmc/bfin_sdh.c @@ -256,7 +256,6 @@ int bfin_mmc_init(bd_t *bis) mmc->voltages = MMC_VDD_32_33 | MMC_VDD_33_34; mmc->f_max = get_sclk(); mmc->f_min = mmc->f_max >> 9; - mmc->block_dev.part_type = PART_TYPE_DOS; mmc->b_max = 0;