]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
tty: mips_ejtag_fdc: constify mips_cdmm_device_id
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Fri, 25 Aug 2017 18:14:11 +0000 (23:44 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 18:51:22 +0000 (20:51 +0200)
commitb4941f063285b598b123352f7f234dcec3c71810
treec268976b7df3a6d931979f997179073538c4a897
parent562e6ef81f9b3dadeb7d05a6055e502d43caa830
tty: mips_ejtag_fdc: constify mips_cdmm_device_id

mips_cdmm_device_id are not supposed to change at runtime.
mips_cdmm_driver is working with const 'id_table'. So mark
the non-const mips_cdmm_device_id structs as const.

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