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>
This commit is contained in:
parent
2f2a0c70ce
commit
75e66aa65e
@ -788,7 +788,7 @@ static int efm32_uart_remove(struct platform_device *pdev)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct of_device_id efm32_uart_dt_ids[] = {
|
static const struct of_device_id efm32_uart_dt_ids[] = {
|
||||||
{
|
{
|
||||||
.compatible = "efm32,uart",
|
.compatible = "efm32,uart",
|
||||||
}, {
|
}, {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user