summaryrefslogtreecommitdiff
path: root/include/linux/bq27x00.h
diff options
context:
space:
mode:
authorPritesh Raithatha <praithatha@nvidia.com>2011-06-04 19:09:29 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:43:08 -0800
commit0ab7a4b33c2ba37fc85376f7ce0f91fc9b92ebfe (patch)
tree2be4ba16ffdc7e7e0b8c43570add28bb17ca9163 /include/linux/bq27x00.h
parent19bd4df1ede886feddf4322d80b71109e65e623f (diff)
power: bq27x00: add platform data to pass gpio from board file
Original-Change-Id: Ic571561e9f1086fcae5889570dacb64231d0573f Reviewed-on: http://git-master/r/35185 Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com> Tested-by: Pritesh Raithatha <praithatha@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: Ra8409a349c820e06bfb62c1d3dd0c0272334632a
Diffstat (limited to 'include/linux/bq27x00.h')
-rw-r--r--include/linux/bq27x00.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/include/linux/bq27x00.h b/include/linux/bq27x00.h
new file mode 100644
index 000000000000..b95cd2035238
--- /dev/null
+++ b/include/linux/bq27x00.h
@@ -0,0 +1,30 @@
+/*
+ * include/linux/bq27x00.h
+ *
+ * BQ27x00 battery driver
+ *
+ * Copyright (c) 2011, NVIDIA Corporation.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+
+#ifndef _LINUX_BQ27x00_H
+#define _LINUX_BQ27x00_H
+
+struct bq27x00_platform_data {
+ int ac_persent_gpio;
+};
+
+#endif /* _LINUX_BQ27x00_H */