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>
This commit is contained in:

committed by
Anton Vorontsov

parent
bc51e7ff52
commit
c66ae9bb4d
@@ -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;
|
||||
|
Reference in New Issue
Block a user