aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/efm32-uart.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2013-07-18 14:51:04 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-07-26 16:06:15 -0700
commit75e66aa65ed2224e3bb21b6c44555ff938c9046c (patch)
tree86bb955dadfbc9439237f1924cfe39dd85642a32 /drivers/tty/serial/efm32-uart.c
parentserial/efm32-uart: use COMPILE_TEST symbol to extend compile test coverage (diff)
downloadlinux-dev-75e66aa65ed2224e3bb21b6c44555ff938c9046c.tar.xz
linux-dev-75e66aa65ed2224e3bb21b6c44555ff938c9046c.zip
serial/efm32-uart: make of_device_id array const
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/efm32-uart.c')
-rw-r--r--drivers/tty/serial/efm32-uart.c2
1 files changed, 1 insertions, 1 deletions
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",
}, {