Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 283461
b: refs/heads/master
c: 9b88722
h: refs/heads/master
i:
  283459: a50e45e
v: v3
  • Loading branch information
Kim, Milo authored and Anton Vorontsov committed Jan 4, 2012
1 parent 3274880 commit 142161e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ce09affc59bca2a1ac1f77b75915fd914fab1f70
refs/heads/master: 9b8872273af6983b246252a6508fa7cf34c69d6e
2 changes: 1 addition & 1 deletion trunk/drivers/power/power_supply_sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ static ssize_t power_supply_show_property(struct device *dev,
struct device_attribute *attr,
char *buf) {
static char *type_text[] = {
"Battery", "UPS", "Mains", "USB",
"Unknown", "Battery", "UPS", "Mains", "USB",
"USB_DCP", "USB_CDP", "USB_ACA"
};
static char *status_text[] = {
Expand Down
3 changes: 2 additions & 1 deletion trunk/include/linux/power_supply.h
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ enum power_supply_property {
};

enum power_supply_type {
POWER_SUPPLY_TYPE_BATTERY = 0,
POWER_SUPPLY_TYPE_UNKNOWN = 0,
POWER_SUPPLY_TYPE_BATTERY,
POWER_SUPPLY_TYPE_UPS,
POWER_SUPPLY_TYPE_MAINS,
POWER_SUPPLY_TYPE_USB, /* Standard Downstream Port */
Expand Down

0 comments on commit 142161e

Please sign in to comment.