aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/i2c
diff options
context:
space:
mode:
authorXiaolong Chen <xiaolong.chen@gmail.com>2010-07-26 04:01:11 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2010-07-26 04:17:41 -0400
commitba9f507a1bea5ca2fc4a19e227c56b60fd5faca3 (patch)
treee3eb50ca1716f9230022eac5497b1ed058e75949 /include/linux/i2c
parentf1cba532e8c1001a39650379aa7e04ad974d0592 (diff)
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 b5f57c498e24..269181b8f623 100644
--- a/include/linux/i2c/adp5588.h
+++ b/include/linux/i2c/adp5588.h
@@ -123,6 +123,7 @@ struct adp5588_kpad_platform_data {
123 unsigned short unlock_key2; /* Unlock Key 2 */ 123 unsigned short unlock_key2; /* Unlock Key 2 */
124 const struct adp5588_gpi_map *gpimap; 124 const struct adp5588_gpi_map *gpimap;
125 unsigned short gpimapsize; 125 unsigned short gpimapsize;
126 const struct adp5588_gpio_platform_data *gpio_data;
126}; 127};
127 128
128struct adp5588_gpio_platform_data { 129struct adp5588_gpio_platform_data {