summaryrefslogtreecommitdiff
path: root/include/linux/i2c
diff options
context:
space:
mode:
authorJean-François Dagenais <jeff.dagenais@gmail.com>2012-05-10 22:32:00 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-05-10 22:34:16 -0700
commitd0a3457d38adbad37e43ffe6b763360b2bfe71d9 (patch)
treeed1dcb47e63d38be8205c829564cde4247fc51bd /include/linux/i2c
parentf77621cc640a7c50b3d8c5254ecc5d91eaa99d0d (diff)
downloadlinux-3.10-d0a3457d38adbad37e43ffe6b763360b2bfe71d9.tar.gz
linux-3.10-d0a3457d38adbad37e43ffe6b763360b2bfe71d9.tar.bz2
linux-3.10-d0a3457d38adbad37e43ffe6b763360b2bfe71d9.zip
Input: adp5588 - add support for gpio names
Signed-off-by: Jean-François Dagenais <jeff.dagenais@gmail.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 cec17cf6cac..d8341cb47b6 100644
--- a/include/linux/i2c/adp5588.h
+++ b/include/linux/i2c/adp5588.h
@@ -157,6 +157,7 @@ struct i2c_client; /* forward declaration */
struct adp5588_gpio_platform_data {
int gpio_start; /* GPIO Chip base # */
+ const char *const *names;
unsigned irq_base; /* interrupt base # */
unsigned pullup_dis_mask; /* Pull-Up Disable Mask */
int (*setup)(struct i2c_client *client,