summaryrefslogtreecommitdiff
path: root/include/linux/power/isp1704_charger.h
diff options
context:
space:
mode:
authorSebastian Reichel <sre@debian.org>2013-12-01 05:00:10 +0400
committerAnton Vorontsov <anton@enomsg.org>2013-12-24 06:34:58 +0400
commit34a109610e2a78b56be22fa314054c09669075eb (patch)
tree64a4cee4b9cc7b36f19257a4de959bc293c28b77 /include/linux/power/isp1704_charger.h
parent434a09f9c43ae5136774fb632440beb4f0081719 (diff)
downloadlinux-34a109610e2a78b56be22fa314054c09669075eb.tar.xz
isp1704_charger: Add DT support
This patch introduces device tree support to the isp1704 charger driver. Adding support involved moving the handling of the enable GPIO from board code into the driver. Signed-off-by: Sebastian Reichel <sre@debian.org> Signed-off-by: Anton Vorontsov <anton@enomsg.org>
Diffstat (limited to 'include/linux/power/isp1704_charger.h')
-rw-r--r--include/linux/power/isp1704_charger.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/power/isp1704_charger.h b/include/linux/power/isp1704_charger.h
index 68096a6aa2d7..0105d9e7af85 100644
--- a/include/linux/power/isp1704_charger.h
+++ b/include/linux/power/isp1704_charger.h
@@ -24,6 +24,7 @@
struct isp1704_charger_data {
void (*set_power)(bool on);
+ int enable_gpio;
};
#endif