summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlexander Stein <alexander.stein@informatik.tu-chemnitz.de>2011-04-11 23:34:48 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2011-04-11 23:53:19 -0700
commit467112777c462a592c27338eeea5d1a320e82b5f (patch)
treeb2ee72c67ecdc46ebb62edb042aa22af434a7350 /include
parent92a47674f57b4a84a43ce93b0dfdb596c0543749 (diff)
downloadlinux-stable-467112777c462a592c27338eeea5d1a320e82b5f.tar.gz
linux-stable-467112777c462a592c27338eeea5d1a320e82b5f.tar.bz2
linux-stable-467112777c462a592c27338eeea5d1a320e82b5f.zip
Input: gpio-keys - add support for setting device name
This patch allows to set a device name which helps distinguishing several gpio-keys devices. Signed-off-by: Alexander Stein <alexander.stein@informatik.tu-chemnitz.de> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include')
-rw-r--r--include/linux/gpio_keys.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/gpio_keys.h b/include/linux/gpio_keys.h
index 3204edfe6b19..b5ca4b2c08ec 100644
--- a/include/linux/gpio_keys.h
+++ b/include/linux/gpio_keys.h
@@ -22,6 +22,7 @@ struct gpio_keys_platform_data {
unsigned int rep:1; /* enable input subsystem auto repeat */
int (*enable)(struct device *dev);
void (*disable)(struct device *dev);
+ const char *name; /* input device name */
};
#endif