Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 242596
b: refs/heads/master
c: a223246
h: refs/heads/master
v: v3
  • Loading branch information
Vasily Khoruzhick authored and Anton Vorontsov committed Mar 16, 2011
1 parent d03b887 commit 461f91e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f8d878ddbb3c08bc2f876975df674484208536ac
refs/heads/master: a223246f7280422f77c15b71455fe3362d3604b4
2 changes: 2 additions & 0 deletions trunk/drivers/power/z2_battery.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ static int z2_batt_ps_init(struct z2_charger *charger, int props)
enum power_supply_property *prop;
struct z2_battery_info *info = charger->info;

if (info->charge_gpio >= 0)
props++; /* POWER_SUPPLY_PROP_STATUS */
if (info->batt_tech >= 0)
props++; /* POWER_SUPPLY_PROP_TECHNOLOGY */
if (info->batt_I2C_reg >= 0)
Expand Down

0 comments on commit 461f91e

Please sign in to comment.