summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPritesh Raithatha <praithatha@nvidia.com>2011-06-04 19:09:29 +0530
committerNiket Sirsi <nsirsi@nvidia.com>2011-06-06 18:18:42 -0700
commit4347441102b212d76a8705a9d0ad1ea4d5ed82a4 (patch)
tree08cbe21fa882a6ad86cd5546f864e32a8f69b81c /include
parent152d905716e10ec3344b4ca1dcdb0cdf2ae358c4 (diff)
power: bq27x00: add platform data to pass gpio from board file
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>
Diffstat (limited to 'include')
-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 */