ARM: shmobile: sh7372: Make domain_devices[] static __initdata
[firefly-linux-kernel-4.4.55.git] / arch / arm / mach-shmobile / setup-sh7372.c
index 9cdfcdfd38fc4b6625a96f1515e7ce0e9834f988..a04fa5fd00fd430d5ab1dba67dad94cba6e6224f 100644 (file)
@@ -927,7 +927,7 @@ static struct platform_device *sh7372_late_devices[] __initdata = {
 
 void __init sh7372_add_standard_devices(void)
 {
-       struct pm_domain_device domain_devices[] = {
+       static struct pm_domain_device domain_devices[] __initdata = {
                { "A3RV", &vpu_device, },
                { "A4MP", &spu0_device, },
                { "A4MP", &spu1_device, },