Browse Source

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>
Uwe Kleine-König 12 years ago
parent
commit
75e66aa65e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/tty/serial/efm32-uart.c

+ 1 - 1
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",
 	}, {