diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2010-02-03 16:08:01 +0000 |
---|---|---|
committer | Lars-Peter Clausen <lars@metafoo.de> | 2010-02-03 16:08:01 +0000 |
commit | 4faa1ab58b98bb145b47ec979f45e22dc3685131 (patch) | |
tree | f83f9fec0e4c21f243cd944915158cb9df0ec056 /target/linux/xburst/files-2.6.32/include | |
parent | 27a0d8478d43ee9503b1e985dcb7b0957ac5be3e (diff) | |
download | upstream-4faa1ab58b98bb145b47ec979f45e22dc3685131.tar.gz upstream-4faa1ab58b98bb145b47ec979f45e22dc3685131.tar.bz2 upstream-4faa1ab58b98bb145b47ec979f45e22dc3685131.zip |
Cleanup battery driver
SVN-Revision: 19505
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.h | 10 |
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 |