Input: warrior - constify serio_device_id
authorArvind Yadav <[email protected]>
Sat, 19 Aug 2017 00:08:52 +0000 (17:08 -0700)
committerDmitry Torokhov <[email protected]>
Sat, 19 Aug 2017 00:14:16 +0000 (17:14 -0700)
commitbee186de9ad116a5e0fb6c67578e430257afbdcf
tree1090b3f4912ecbd582de5933971da66603c03639
parenta1e29643bc10873821a1b9fe4551224370379f78
Input: warrior - 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 <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
drivers/input/joystick/warrior.c