ARM: tegra: pluto: use extcon for battery
Xin Xie [Wed, 6 Mar 2013 00:06:18 +0000 (16:06 -0800)]
Add extcon dev name.

Bug 1261951

Change-Id: If59bce0d0fee87f93ac6fb01000e7d5227bb714b
Signed-off-by: Xin Xie <xxie@nvidia.com>
Reviewed-on: http://git-master/r/207221
(cherry picked from commit e60c4fe8e8a323e21544123a53a0e156938b14ae)

arch/arm/mach-tegra/board-pluto-sensors.c

index b9d6638..10c93ac 100644 (file)
@@ -258,6 +258,7 @@ static struct max77665_charger_plat_data max77665_charger = {
        .curr_lim = 1500, /* input current limit */
        .num_cables = MAX_CABLES,
        .cables = maxim_cable,
+       .extcon_name = "tegra-udc",
        .irq_base = MAX77665_TEGRA_IRQ_BASE,
        .update_status = max17042_update_status,
 };