summaryrefslogtreecommitdiffstats
path: root/include/linux/i2c
diff options
context:
space:
mode:
authorXiaolong Chen <xiaolong.chen@gmail.com>2010-07-26 01:01:11 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2010-07-26 01:17:41 -0700
commitba9f507a1bea5ca2fc4a19e227c56b60fd5faca3 (patch)
treee3eb50ca1716f9230022eac5497b1ed058e75949 /include/linux/i2c
parentf1cba532e8c1001a39650379aa7e04ad974d0592 (diff)
downloadop-kernel-dev-ba9f507a1bea5ca2fc4a19e227c56b60fd5faca3.zip
op-kernel-dev-ba9f507a1bea5ca2fc4a19e227c56b60fd5faca3.tar.gz
Input: adp5588-keys - export unused GPIO pins
This patch allows exporting GPIO pins not used by the keypad itself to be accessible from elsewhere. Signed-off-by: Xiaolong Chen <xiao-long.chen@motorola.com> Signed-off-by: Yuanbo Ye <yuan-bo.ye@motorola.com> Signed-off-by: Tao Hu <taohu@motorola.com> Acked-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include/linux/i2c')
-rw-r--r--include/linux/i2c/adp5588.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/i2c/adp5588.h b/include/linux/i2c/adp5588.h
index b5f57c4..269181b 100644
--- a/include/linux/i2c/adp5588.h
+++ b/include/linux/i2c/adp5588.h
@@ -123,6 +123,7 @@ struct adp5588_kpad_platform_data {
unsigned short unlock_key2; /* Unlock Key 2 */
const struct adp5588_gpi_map *gpimap;
unsigned short gpimapsize;
+ const struct adp5588_gpio_platform_data *gpio_data;
};
struct adp5588_gpio_platform_data {
OpenPOWER on IntegriCloud