summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVasily Khoruzhick <anarsoul@gmail.com>2010-12-13 12:26:21 +0200
committerAnton Vorontsov <cbouatmailru@gmail.com>2010-12-22 02:39:57 +0300
commitc66ae9bb4dcaac78cc5e30d0ce7ff2bf3dcb48d9 (patch)
tree3d771944bdade9bfa9743680bbfaf7c49b52e836 /include
parentbc51e7ff521f28a7f14dc2f25307ad9101d1305a (diff)
s3c_adc_battery: Add gpio_inverted field to pdata
Add support for inverted gpio_charge_finished values. This change is necessary for H1940 support. Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/s3c_adc_battery.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/s3c_adc_battery.h b/include/linux/s3c_adc_battery.h
index dbce22faa660..fbe58b7e63eb 100644
--- a/include/linux/s3c_adc_battery.h
+++ b/include/linux/s3c_adc_battery.h
@@ -14,6 +14,7 @@ struct s3c_adc_bat_pdata {
void (*disable_charger)(void);
int gpio_charge_finished;
+ int gpio_inverted;
const struct s3c_adc_bat_thresh *lut_noac;
unsigned int lut_noac_cnt;