OSDN Git Service

Input: iatkbd - constify serio_device_id
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Sat, 19 Aug 2017 00:09:14 +0000 (17:09 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 19 Aug 2017 00:14:19 +0000 (17:14 -0700)
commitaf2e7d77957afdf08f7e12a1d1e24f51eb51c7db
tree42d4f6e32178093900421aa4e5c6a9317c328ec2
parentb06bc6b6bf8cf68daca123ddcc3391ef08411f58
Input: iatkbd - 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/keyboard/atkbd.c