Pārlūkot izejas kodu

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 gadi atpakaļ
vecāks
revīzija
75e66aa65e
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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",
 	}, {