Searched hist:bee186de (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/input/joystick/ |
H A D | warrior.c | bee186de Fri Aug 18 19:08:52 CDT 2017 Arvind Yadav <arvind.yadav.cs@gmail.com> 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 <arvind.yadav.cs@gmail.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> bee186de Fri Aug 18 19:08:52 CDT 2017 Arvind Yadav <arvind.yadav.cs@gmail.com> 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 <arvind.yadav.cs@gmail.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
|