aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSebastian Reichel <sre@debian.org>2013-11-30 20:00:10 -0500
committerAnton Vorontsov <anton@enomsg.org>2013-12-23 21:34:58 -0500
commit34a109610e2a78b56be22fa314054c09669075eb (patch)
tree64a4cee4b9cc7b36f19257a4de959bc293c28b77 /include
parent434a09f9c43ae5136774fb632440beb4f0081719 (diff)
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')
-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 @@
24 24
25struct isp1704_charger_data { 25struct isp1704_charger_data {
26 void (*set_power)(bool on); 26 void (*set_power)(bool on);
27 int enable_gpio;
27}; 28};
28 29
29#endif 30#endif