summaryrefslogtreecommitdiff
path: root/target/linux/xburst/files-2.6.32/include
diff options
context:
space:
mode:
authorlars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-02-03 16:08:01 +0000
committerlars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-02-03 16:08:01 +0000
commitfa49366b50606755e8ce2974ff88592b8036fce3 (patch)
tree5b4ece75974db177458b746d645b6792094b48d2 /target/linux/xburst/files-2.6.32/include
parent297f147eaef68cc4fa7775d9a23e8ab73f6fd2f2 (diff)
[xburst] Cleanup battery driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19505 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/xburst/files-2.6.32/include')
-rw-r--r--target/linux/xburst/files-2.6.32/include/linux/power/jz4740-battery.h10
1 files changed, 4 insertions, 6 deletions
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 42e122ea7e..19c9610c72 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