From: Uwe Kleine-König Date: Thu, 18 Jul 2013 12:51:04 +0000 (+0200) Subject: serial/efm32-uart: make of_device_id array const X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=75e66aa65ed2224e3bb21b6c44555ff938c9046c;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git serial/efm32-uart: make of_device_id array const Signed-off-by: Uwe Kleine-König Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/serial/efm32-uart.c b/drivers/tty/serial/efm32-uart.c index e029907cf430..868dbfb9f893 100644 --- a/drivers/tty/serial/efm32-uart.c +++ b/drivers/tty/serial/efm32-uart.c @@ -788,7 +788,7 @@ static int efm32_uart_remove(struct platform_device *pdev) return 0; } -static struct of_device_id efm32_uart_dt_ids[] = { +static const struct of_device_id efm32_uart_dt_ids[] = { { .compatible = "efm32,uart", }, {