tty: 8250: constify parisc_device_id
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Sat, 19 Aug 2017 17:54:55 +0000 (23:24 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 18:51:20 +0000 (20:51 +0200)
commit0d474f7fad3b20a51394f5eb19d08b49d4e9ebc8
tree3fcbbf08ac12149dc2ab4a9b0c9dbed4b960fd28
parenta2d23edaef9e022df26e9d46a49c2ecfc960cc8b
tty: 8250: 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/8250/8250_gsc.c