mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
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 <[email protected]> Acked-by: Maxime Ripard <[email protected]>
This commit is contained in:
parent
0437838484
commit
fddad17ed1
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */ },
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue