summaryrefslogtreecommitdiffstats
path: root/drivers/char/keyboard.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dtor@insightbb.com>2006-09-14 01:31:59 -0400
committerDmitry Torokhov <dtor@insightbb.com>2006-09-14 01:31:59 -0400
commit66e66118837ed95a299328437c2d9fb4b5137352 (patch)
tree901c8b3ab9ab01b0363992b65689cafe797fcb25 /drivers/char/keyboard.c
parent5206c0d5ec514733dd098cf658d71327d199c7a0 (diff)
downloadblackbird-op-linux-66e66118837ed95a299328437c2d9fb4b5137352.tar.gz
blackbird-op-linux-66e66118837ed95a299328437c2d9fb4b5137352.zip
Input: constify input core
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/char/keyboard.c')
-rw-r--r--drivers/char/keyboard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/keyboard.c b/drivers/char/keyboard.c
index 30a745428a09..797480768b4e 100644
--- a/drivers/char/keyboard.c
+++ b/drivers/char/keyboard.c
@@ -1285,7 +1285,7 @@ static void kbd_event(struct input_handle *handle, unsigned int event_type,
*/
static struct input_handle *kbd_connect(struct input_handler *handler,
struct input_dev *dev,
- struct input_device_id *id)
+ const struct input_device_id *id)
{
struct input_handle *handle;
int i;
@@ -1334,7 +1334,7 @@ static void kbd_start(struct input_handle *handle)
tasklet_enable(&keyboard_tasklet);
}
-static struct input_device_id kbd_ids[] = {
+static const struct input_device_id kbd_ids[] = {
{
.flags = INPUT_DEVICE_ID_MATCH_EVBIT,
.evbit = { BIT(EV_KEY) },
OpenPOWER on IntegriCloud