]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
Input: stinger - constify serio_device_id
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Sat, 19 Aug 2017 00:08:29 +0000 (17:08 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 19 Aug 2017 00:14:14 +0000 (17:14 -0700)
commitfa0426c6cfdf89726f4e9495d6870f01374459f9
tree8a4d43965e9f6a4c2e81c08dbe731b543ea9c812
parentecfd71af894ab2f0ce24df59232479d4a088ebce
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>
drivers/input/joystick/stinger.c