]> git.baikalelectronics.ru Git - kernel.git/commit
Input: spaceorb - constify serio_device_id
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Sat, 19 Aug 2017 00:08:17 +0000 (17:08 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 19 Aug 2017 00:14:12 +0000 (17:14 -0700)
commit7fbc311e7a47f21bf9ade257bb76dce42d8b6de7
treec41b091ca3d4d818b08e79894660ff89021bf381
parentded3fa13321d28053f8948191360b5ec7d609369
Input: spaceorb - 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/joystick/spaceorb.c