aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSean McNeil <sean@mcneil.com>2008-12-02 11:35:42 +0000
committerAndy Green <agreen@pads.home.warmcat.com>2008-12-02 11:35:42 +0000
commit9205fa7206e2fcd5d6e23670f5d8c215fc999874 (patch)
treea2dc8158637f42354f620f39ca1e8cce7b937be0 /include/linux
parent3e41e162f47f688c24e3402b961cf5c32f990dd9 (diff)
PATCH-add-ac-charger-power_supply.eml
This adds an appropriate ac power_supply class and shows usb only when at the appropriate current limit. Signed-off-by: Sean McNeil <sean@mcneil.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mfd/pcf50633/mbc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/pcf50633/mbc.h b/include/linux/mfd/pcf50633/mbc.h
index a59bd382db4..9a7938ad132 100644
--- a/include/linux/mfd/pcf50633/mbc.h
+++ b/include/linux/mfd/pcf50633/mbc.h
@@ -128,6 +128,7 @@ struct pcf50633_mbc {
int usb_active;
int usb_online;
+ struct power_supply ac;
struct power_supply usb;
struct power_supply adapter;