From: Alexander Aring Date: Thu, 24 Apr 2014 17:09:11 +0000 (+0200) Subject: at86rf230: make of_device_id const X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=1086b4f62d54384c91a51e906bd87738c5b5ed93;p=deliverable%2Flinux.git at86rf230: make of_device_id const Signed-off-by: Alexander Aring Signed-off-by: David S. Miller --- diff --git a/drivers/net/ieee802154/at86rf230.c b/drivers/net/ieee802154/at86rf230.c index 46d992ac7ced..41c338456d50 100644 --- a/drivers/net/ieee802154/at86rf230.c +++ b/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", },