]> git.baikalelectronics.ru Git - kernel.git/commit
Input: hil_kbd - constify serio_device_id
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Sat, 19 Aug 2017 00:09:21 +0000 (17:09 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 19 Aug 2017 00:14:20 +0000 (17:14 -0700)
commite11733a001a643888b7471150820364141a55f74
tree400fbb8d824a89339005561d9849243b68bdab67
parent7011e8a9cb89d67b4979ada47178f349282d1de9
Input: hil_kbd - constify serio_device_id

serio_device_id are not supposed to change at runtime. All functions
working with serio_device_id provided by <linux/serio.h> work with
const serio_device_id. So mark the non-const structs as const.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/hil_kbd.c