浏览代码

omap4: pandaboard: remove unused hsmmc definition

remove the second hsmmc definition as it is only used on the
expansion header of the PandaBoard and can be mux for other
functions.

Signed-off-by: David Anders <x0132446@ti.com>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
David Anders 14 年之前
父节点
当前提交
191183b94c
共有 1 个文件被更改,包括 1 次插入5 次删除
  1. 1 5
      arch/arm/mach-omap2/board-omap4panda.c

+ 1 - 5
arch/arm/mach-omap2/board-omap4panda.c

@@ -98,10 +98,6 @@ static struct regulator_consumer_supply omap4_panda_vmmc_supply[] = {
 		.supply = "vmmc",
 		.supply = "vmmc",
 		.dev_name = "mmci-omap-hs.0",
 		.dev_name = "mmci-omap-hs.0",
 	},
 	},
-	{
-		.supply = "vmmc",
-		.dev_name = "mmci-omap-hs.1",
-	},
 };
 };
 
 
 static int omap4_twl6030_hsmmc_late_init(struct device *dev)
 static int omap4_twl6030_hsmmc_late_init(struct device *dev)
@@ -187,7 +183,7 @@ static struct regulator_init_data omap4_panda_vmmc = {
 					| REGULATOR_CHANGE_MODE
 					| REGULATOR_CHANGE_MODE
 					| REGULATOR_CHANGE_STATUS,
 					| REGULATOR_CHANGE_STATUS,
 	},
 	},
-	.num_consumer_supplies  = 2,
+	.num_consumer_supplies  = 1,
 	.consumer_supplies      = omap4_panda_vmmc_supply,
 	.consumer_supplies      = omap4_panda_vmmc_supply,
 };
 };