Searched hist:f31103f8 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/input/joystick/ |
H A D | magellan.c | f31103f8 Fri Aug 18 19:07:48 CDT 2017 Arvind Yadav <arvind.yadav.cs@gmail.com> Input: magellan - 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> f31103f8 Fri Aug 18 19:07:48 CDT 2017 Arvind Yadav <arvind.yadav.cs@gmail.com> Input: magellan - 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>
|