From: Alexander Aring Date: Thu, 24 Apr 2014 17:09:11 +0000 (+0200) Subject: at86rf230: make of_device_id const X-Git-Tag: firefly_0821_release~176^2~3765^2~321^2~7 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1086b4f62d54384c91a51e906bd87738c5b5ed93;p=firefly-linux-kernel-4.4.55.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", },