serial/efm32-uart: make of_device_id array const
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 18 Jul 2013 12:51:04 +0000 (14:51 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Jul 2013 23:06:15 +0000 (16:06 -0700)
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/efm32-uart.c

index e029907..868dbfb 100644 (file)
@@ -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",
        }, {