mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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 <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
562e6ef81f
commit
b4941f0632
1 changed files with 1 additions and 1 deletions
|
|
@ -1110,7 +1110,7 @@ out:
|
|||
return ret;
|
||||
}
|
||||
|
||||
static struct mips_cdmm_device_id mips_ejtag_fdc_tty_ids[] = {
|
||||
static const struct mips_cdmm_device_id mips_ejtag_fdc_tty_ids[] = {
|
||||
{ .type = 0xfd },
|
||||
{ }
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue