summaryrefslogtreecommitdiff
path: root/target/linux/xburst/files-2.6.32/include
diff options
context:
space:
mode:
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