summaryrefslogtreecommitdiff
path: root/drivers/reset
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2015-10-29 11:59:34 +0300
committerPhilipp Zabel <p.zabel@pengutronix.de>2015-11-16 11:23:47 +0300
commitfddad17ed11f1f3c2dd2f9b3b7691a097549c9f3 (patch)
tree410c4d78c2625593be84f4c765bf1e72865f60fd /drivers/reset
parent0437838484fa4c19dd3d561e4605c229d2eb756d (diff)
downloadlinux-fddad17ed11f1f3c2dd2f9b3b7691a097549c9f3.tar.xz
reset: sunxi: mark the of_device_id array as __initconst
Since this array is static const, it should be marked as __initconst. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'drivers/reset')
-rw-r--r--drivers/reset/reset-sunxi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/reset/reset-sunxi.c b/drivers/reset/reset-sunxi.c
index 3d95c87160b3..9353b2dd153f 100644
--- a/drivers/reset/reset-sunxi.c
+++ b/drivers/reset/reset-sunxi.c
@@ -122,7 +122,7 @@ err_alloc:
* our system, before we can even think of using a regular device
* driver for it.
*/
-static const struct of_device_id sunxi_early_reset_dt_ids[] __initdata = {
+static const struct of_device_id sunxi_early_reset_dt_ids[] __initconst = {
{ .compatible = "allwinner,sun6i-a31-ahb1-reset", },
{ /* sentinel */ },
};