Searched hist:fa0426c6cfdf89726f4e9495d6870f01374459f9 (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/input/joystick/ |
H A D | stinger.c | diff fa0426c6cfdf89726f4e9495d6870f01374459f9 Sat Aug 19 02:08:29 CEST 2017 Arvind Yadav <arvind.yadav.cs@gmail.com> 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>
|