diff options
author | Sebastian Reichel <sre@debian.org> | 2013-12-01 05:00:10 +0400 |
---|---|---|
committer | Anton Vorontsov <anton@enomsg.org> | 2013-12-24 06:34:58 +0400 |
commit | 34a109610e2a78b56be22fa314054c09669075eb (patch) | |
tree | 64a4cee4b9cc7b36f19257a4de959bc293c28b77 /include/linux/power/isp1704_charger.h | |
parent | 434a09f9c43ae5136774fb632440beb4f0081719 (diff) | |
download | linux-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.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 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 |