]> asedeno.scripts.mit.edu Git - linux.git/commit
tty: mux: constify parisc_device_id
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Sat, 19 Aug 2017 17:54:56 +0000 (23:24 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 18:51:21 +0000 (20:51 +0200)
commit829374f544b3b9499300f48c741cbc085ce06c14
tree207261fb9bd8a42f2c038631aab1871613d35a04
parent0d474f7fad3b20a51394f5eb19d08b49d4e9ebc8
tty: mux: constify parisc_device_id

parisc_device_id are not supposed to change at runtime. All functions
working with parisc_device_id provided by <asm/parisc-device.h> work
with const parisc_device_id. So mark the non-const structs as const.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/mux.c