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 e029907cf4308939bb157607cbe90ce18aad5146..868dbfb9f89352577335a20dd654d745e4ea9b79 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",
        }, {