From 4347441102b212d76a8705a9d0ad1ea4d5ed82a4 Mon Sep 17 00:00:00 2001 From: Pritesh Raithatha Date: Sat, 4 Jun 2011 19:09:29 +0530 Subject: 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 Tested-by: Pritesh Raithatha Reviewed-by: Bharat Nihalani --- include/linux/bq27x00.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 include/linux/bq27x00.h (limited to 'include') 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 */ -- cgit v1.2.3