mirror of
https://github.com/torvalds/linux.git
synced 2026-06-10 07:32:29 +02:00
power: power_supply: add POWER_SUPPLY_PROP_USB_OTG
Change-Id: Idfc6ef2e37d62aad6f26cc8eafa53db642cd352b Signed-off-by: Todd Poynor <toddpoynor@google.com>
This commit is contained in:
parent
aabc63c270
commit
746428fc4c
|
|
@ -176,6 +176,7 @@ static struct device_attribute power_supply_attrs[] = {
|
|||
POWER_SUPPLY_ATTR(scope),
|
||||
/* Local extensions */
|
||||
POWER_SUPPLY_ATTR(usb_hc),
|
||||
POWER_SUPPLY_ATTR(usb_otg),
|
||||
/* Properties of type `const char *' */
|
||||
POWER_SUPPLY_ATTR(model_name),
|
||||
POWER_SUPPLY_ATTR(manufacturer),
|
||||
|
|
|
|||
|
|
@ -126,6 +126,7 @@ enum power_supply_property {
|
|||
POWER_SUPPLY_PROP_SCOPE,
|
||||
/* Local extensions */
|
||||
POWER_SUPPLY_PROP_USB_HC,
|
||||
POWER_SUPPLY_PROP_USB_OTG,
|
||||
/* Properties of type `const char *' */
|
||||
POWER_SUPPLY_PROP_MODEL_NAME,
|
||||
POWER_SUPPLY_PROP_MANUFACTURER,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user