소스 검색

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 년 전
부모
커밋
1086b4f62d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)
 #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,at86rf230", },
 	{ .compatible = "atmel,at86rf231", },
 	{ .compatible = "atmel,at86rf231", },
 	{ .compatible = "atmel,at86rf233", },
 	{ .compatible = "atmel,at86rf233", },