Selaa lähdekoodia

at86rf230: make of_device_id const

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Alexander Aring 11 vuotta sitten
vanhempi
commit
1086b4f62d
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      drivers/net/ieee802154/at86rf230.c

+ 1 - 1
drivers/net/ieee802154/at86rf230.c

@@ -1216,7 +1216,7 @@ static int at86rf230_remove(struct spi_device *spi)
 }
 
 #if IS_ENABLED(CONFIG_OF)
-static struct of_device_id at86rf230_of_match[] = {
+static const struct of_device_id at86rf230_of_match[] = {
 	{ .compatible = "atmel,at86rf230", },
 	{ .compatible = "atmel,at86rf231", },
 	{ .compatible = "atmel,at86rf233", },