serial: sirf: make of_device_ids const
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Thu, 15 Jun 2017 11:38:40 +0000 (17:08 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 20 Jun 2017 02:24:15 +0000 (10:24 +0800)
commit519495431d04acc8bfb681a5455f163c6a14206b
treea99c42fe8c2a2d70e4a3b98af36fa222d56c9a8c
parent7b45fff006dd17ca7752e772bf9d347266e081b1
serial: sirf: make of_device_ids const

of_device_ids are not supposed to change at runtime. All functions
working with of_device_ids provided by <linux/of.h> work with const
of_device_ids. 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/sirfsoc_uart.c