diff options
author | Sebastian Reichel <sre@debian.org> | 2013-12-01 02:00:10 +0100 |
---|---|---|
committer | Anton Vorontsov <anton@enomsg.org> | 2013-12-23 18:34:58 -0800 |
commit | 34a109610e2a78b56be22fa314054c09669075eb (patch) | |
tree | 64a4cee4b9cc7b36f19257a4de959bc293c28b77 /include/linux/power | |
parent | 434a09f9c43ae5136774fb632440beb4f0081719 (diff) | |
download | op-kernel-dev-34a109610e2a78b56be22fa314054c09669075eb.zip op-kernel-dev-34a109610e2a78b56be22fa314054c09669075eb.tar.gz |
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')
-rw-r--r-- | include/linux/power/isp1704_charger.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/power/isp1704_charger.h b/include/linux/power/isp1704_charger.h index 68096a6..0105d9e 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 |