aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char')
-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,
1285 */ 1285 */
1286static struct input_handle *kbd_connect(struct input_handler *handler, 1286static 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
1337static struct input_device_id kbd_ids[] = { 1337static 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) },