提交 1086b4f6 编写于 作者: A Alexander Aring 提交者: David S. Miller

at86rf230: make of_device_id const

Signed-off-by: NAlexander Aring <alex.aring@gmail.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 835cb7d2
......@@ -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", },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册