reset: sunxi: mark the of_device_id array as __initconst
authorPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 29 Oct 2015 08:59:34 +0000 (09:59 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 16 Nov 2015 08:23:47 +0000 (09:23 +0100)
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>
drivers/reset/reset-sunxi.c

index 3d95c87160b35003635460d5d67379d3da33d27f..9353b2dd153f422b0f4b62cd4eb6844dc1420201 100644 (file)
@@ -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 */ },
 };
This page took 0.025168 seconds and 5 git commands to generate.