From fa49366b50606755e8ce2974ff88592b8036fce3 Mon Sep 17 00:00:00 2001 From: lars Date: Wed, 3 Feb 2010 16:08:01 +0000 Subject: [xburst] Cleanup battery driver git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19505 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../xburst/files-2.6.32/include/linux/power/jz4740-battery.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'target/linux/xburst/files-2.6.32/include') diff --git a/target/linux/xburst/files-2.6.32/include/linux/power/jz4740-battery.h b/target/linux/xburst/files-2.6.32/include/linux/power/jz4740-battery.h index 42e122ea7..19c9610c7 100644 --- a/target/linux/xburst/files-2.6.32/include/linux/power/jz4740-battery.h +++ b/target/linux/xburst/files-2.6.32/include/linux/power/jz4740-battery.h @@ -15,12 +15,10 @@ #ifndef __JZ4740_BATTERY_H #define __JZ4740_BATTERY_H -struct jz_batt_info { - int charg_stat_gpio; /* GPIO port of Charger state */ - - int min_voltag; /* Mininal battery voltage in uV */ - int max_voltag; /* Maximum battery voltage in uV */ - int batt_tech; /* Battery technology */ +struct jz_battery_platform_data { + struct power_supply_info info; + int gpio_charge; /* GPIO port of Charger state */ + int gpio_charge_active_low; }; #endif -- cgit v1.2.3