]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4ec26437dfa622e627e9a9f70ffc5ae93e803770
treea99c42fe8c2a2d70e4a3b98af36fa222d56c9a8c
parent1a0ee7b35c5027ffb02379013e9ba483b344bd62
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