diff options
| author | Tim Sell <Timothy.Sell@unisys.com> | 2015-10-02 20:19:19 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-04 11:53:34 +0300 |
| commit | f9bda156cfd22f8a6598729bac831308f6db7997 (patch) | |
| tree | c1cf30f8ffdae5dd8b70f59e0e61a3cf71742b38 /include/linux | |
| parent | b3d5d05dcc4ac1d349c51ea743092375701aa8e1 (diff) | |
| download | linux-f9bda156cfd22f8a6598729bac831308f6db7997.tar.xz | |
staging: unisys: visorinput: make structs & arrays const where possible
This also gave me a warning with the assignment:
visorinput_dev->keycode = visorkbd_keycode;
because input_dev->keycode is NOT static but visorkbd_keycode now is, so
I went ahead and also added logic to stash away non-static copies of
visorkbd_keycode[] and visorkbd_ext_keycode[] within visorinput_devdata,
and use the copy to assign to visorinput_dev->keycode. This change is
also technically required, because user-space can remap keys, and we
don't want this to be shared with the other keyboard devices running on
the same system.
Signed-off-by: Tim Sell <Timothy.Sell@unisys.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
