diff options
author | Dmitry Torokhov <dtor@insightbb.com> | 2006-09-14 01:31:59 -0400 |
---|---|---|
committer | Dmitry Torokhov <dtor@insightbb.com> | 2006-09-14 01:31:59 -0400 |
commit | 66e66118837ed95a299328437c2d9fb4b5137352 (patch) | |
tree | 901c8b3ab9ab01b0363992b65689cafe797fcb25 /drivers/char | |
parent | 5206c0d5ec514733dd098cf658d71327d199c7a0 (diff) |
Input: constify input core
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/keyboard.c | 4 |
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, | |||
1285 | */ | 1285 | */ |
1286 | static struct input_handle *kbd_connect(struct input_handler *handler, | 1286 | static struct input_handle *kbd_connect(struct input_handler *handler, |
1287 | struct input_dev *dev, | 1287 | struct input_dev *dev, |
1288 | struct input_device_id *id) | 1288 | const struct input_device_id *id) |
1289 | { | 1289 | { |
1290 | struct input_handle *handle; | 1290 | struct input_handle *handle; |
1291 | int i; | 1291 | int i; |
@@ -1334,7 +1334,7 @@ static void kbd_start(struct input_handle *handle) | |||
1334 | tasklet_enable(&keyboard_tasklet); | 1334 | tasklet_enable(&keyboard_tasklet); |
1335 | } | 1335 | } |
1336 | 1336 | ||
1337 | static struct input_device_id kbd_ids[] = { | 1337 | static const struct input_device_id kbd_ids[] = { |
1338 | { | 1338 | { |
1339 | .flags = INPUT_DEVICE_ID_MATCH_EVBIT, | 1339 | .flags = INPUT_DEVICE_ID_MATCH_EVBIT, |
1340 | .evbit = { BIT(EV_KEY) }, | 1340 | .evbit = { BIT(EV_KEY) }, |