mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
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:
parent
bc51e7ff52
commit
c66ae9bb4d
2 changed files with 10 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue