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