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