mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
ANDROID: power: power_supply: add POWER_SUPPLY_PROP_CHARGE_ENABLED
Change-Id: I3e93b502452811cbfc4d904202b4f1d94edc143d Signed-off-by: Todd Poynor <toddpoynor@google.com>
This commit is contained in:
committed by
Dmitry Shmidt
parent
a02dedd9a7
commit
635a06d6a6
@@ -201,6 +201,7 @@ static struct device_attribute power_supply_attrs[] = {
|
||||
/* Local extensions */
|
||||
POWER_SUPPLY_ATTR(usb_hc),
|
||||
POWER_SUPPLY_ATTR(usb_otg),
|
||||
POWER_SUPPLY_ATTR(charge_enabled),
|
||||
/* Properties of type `const char *' */
|
||||
POWER_SUPPLY_ATTR(model_name),
|
||||
POWER_SUPPLY_ATTR(manufacturer),
|
||||
|
||||
@@ -151,6 +151,7 @@ enum power_supply_property {
|
||||
/* Local extensions */
|
||||
POWER_SUPPLY_PROP_USB_HC,
|
||||
POWER_SUPPLY_PROP_USB_OTG,
|
||||
POWER_SUPPLY_PROP_CHARGE_ENABLED,
|
||||
/* Properties of type `const char *' */
|
||||
POWER_SUPPLY_PROP_MODEL_NAME,
|
||||
POWER_SUPPLY_PROP_MANUFACTURER,
|
||||
|
||||
Reference in New Issue
Block a user