diff options
Diffstat (limited to 'arch/powerpc/platforms/52xx')
-rw-r--r-- | arch/powerpc/platforms/52xx/lite5200.c | 4 | ||||
-rw-r--r-- | arch/powerpc/platforms/52xx/media5200.c | 2 | ||||
-rw-r--r-- | arch/powerpc/platforms/52xx/mpc52xx_common.c | 12 | ||||
-rw-r--r-- | arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c | 2 | ||||
-rw-r--r-- | arch/powerpc/platforms/52xx/mpc52xx_pic.c | 4 |
5 files changed, 12 insertions, 12 deletions
diff --git a/arch/powerpc/platforms/52xx/lite5200.c b/arch/powerpc/platforms/52xx/lite5200.c index 1843bc932011..7492de3cf6d0 100644 --- a/arch/powerpc/platforms/52xx/lite5200.c +++ b/arch/powerpc/platforms/52xx/lite5200.c | |||
@@ -34,13 +34,13 @@ | |||
34 | */ | 34 | */ |
35 | 35 | ||
36 | /* mpc5200 device tree match tables */ | 36 | /* mpc5200 device tree match tables */ |
37 | static struct of_device_id mpc5200_cdm_ids[] __initdata = { | 37 | static const struct of_device_id mpc5200_cdm_ids[] __initconst = { |
38 | { .compatible = "fsl,mpc5200-cdm", }, | 38 | { .compatible = "fsl,mpc5200-cdm", }, |
39 | { .compatible = "mpc5200-cdm", }, | 39 | { .compatible = "mpc5200-cdm", }, |
40 | {} | 40 | {} |
41 | }; | 41 | }; |
42 | 42 | ||
43 | static struct of_device_id mpc5200_gpio_ids[] __initdata = { | 43 | static const struct of_device_id mpc5200_gpio_ids[] __initconst = { |
44 | { .compatible = "fsl,mpc5200-gpio", }, | 44 | { .compatible = "fsl,mpc5200-gpio", }, |
45 | { .compatible = "mpc5200-gpio", }, | 45 | { .compatible = "mpc5200-gpio", }, |
46 | {} | 46 | {} |
diff --git a/arch/powerpc/platforms/52xx/media5200.c b/arch/powerpc/platforms/52xx/media5200.c index 070d315dd6cd..32cae33c4266 100644 --- a/arch/powerpc/platforms/52xx/media5200.c +++ b/arch/powerpc/platforms/52xx/media5200.c | |||
@@ -30,7 +30,7 @@ | |||
30 | #include <asm/machdep.h> | 30 | #include <asm/machdep.h> |
31 | #include <asm/mpc52xx.h> | 31 | #include <asm/mpc52xx.h> |
32 | 32 | ||
33 | static struct of_device_id mpc5200_gpio_ids[] __initdata = { | 33 | static const struct of_device_id mpc5200_gpio_ids[] __initconst = { |
34 | { .compatible = "fsl,mpc5200-gpio", }, | 34 | { .compatible = "fsl,mpc5200-gpio", }, |
35 | { .compatible = "mpc5200-gpio", }, | 35 | { .compatible = "mpc5200-gpio", }, |
36 | {} | 36 | {} |
diff --git a/arch/powerpc/platforms/52xx/mpc52xx_common.c b/arch/powerpc/platforms/52xx/mpc52xx_common.c index d7e94f49532a..26993826a797 100644 --- a/arch/powerpc/platforms/52xx/mpc52xx_common.c +++ b/arch/powerpc/platforms/52xx/mpc52xx_common.c | |||
@@ -23,12 +23,12 @@ | |||
23 | #include <asm/mpc52xx.h> | 23 | #include <asm/mpc52xx.h> |
24 | 24 | ||
25 | /* MPC5200 device tree match tables */ | 25 | /* MPC5200 device tree match tables */ |
26 | static struct of_device_id mpc52xx_xlb_ids[] __initdata = { | 26 | static const struct of_device_id mpc52xx_xlb_ids[] __initconst = { |
27 | { .compatible = "fsl,mpc5200-xlb", }, | 27 | { .compatible = "fsl,mpc5200-xlb", }, |
28 | { .compatible = "mpc5200-xlb", }, | 28 | { .compatible = "mpc5200-xlb", }, |
29 | {} | 29 | {} |
30 | }; | 30 | }; |
31 | static struct of_device_id mpc52xx_bus_ids[] __initdata = { | 31 | static const struct of_device_id mpc52xx_bus_ids[] __initconst = { |
32 | { .compatible = "fsl,mpc5200-immr", }, | 32 | { .compatible = "fsl,mpc5200-immr", }, |
33 | { .compatible = "fsl,mpc5200b-immr", }, | 33 | { .compatible = "fsl,mpc5200b-immr", }, |
34 | { .compatible = "simple-bus", }, | 34 | { .compatible = "simple-bus", }, |
@@ -108,21 +108,21 @@ void __init mpc52xx_declare_of_platform_devices(void) | |||
108 | /* | 108 | /* |
109 | * match tables used by mpc52xx_map_common_devices() | 109 | * match tables used by mpc52xx_map_common_devices() |
110 | */ | 110 | */ |
111 | static struct of_device_id mpc52xx_gpt_ids[] __initdata = { | 111 | static const struct of_device_id mpc52xx_gpt_ids[] __initconst = { |
112 | { .compatible = "fsl,mpc5200-gpt", }, | 112 | { .compatible = "fsl,mpc5200-gpt", }, |
113 | { .compatible = "mpc5200-gpt", }, /* old */ | 113 | { .compatible = "mpc5200-gpt", }, /* old */ |
114 | {} | 114 | {} |
115 | }; | 115 | }; |
116 | static struct of_device_id mpc52xx_cdm_ids[] __initdata = { | 116 | static const struct of_device_id mpc52xx_cdm_ids[] __initconst = { |
117 | { .compatible = "fsl,mpc5200-cdm", }, | 117 | { .compatible = "fsl,mpc5200-cdm", }, |
118 | { .compatible = "mpc5200-cdm", }, /* old */ | 118 | { .compatible = "mpc5200-cdm", }, /* old */ |
119 | {} | 119 | {} |
120 | }; | 120 | }; |
121 | static const struct of_device_id mpc52xx_gpio_simple[] = { | 121 | static const struct of_device_id mpc52xx_gpio_simple[] __initconst = { |
122 | { .compatible = "fsl,mpc5200-gpio", }, | 122 | { .compatible = "fsl,mpc5200-gpio", }, |
123 | {} | 123 | {} |
124 | }; | 124 | }; |
125 | static const struct of_device_id mpc52xx_gpio_wkup[] = { | 125 | static const struct of_device_id mpc52xx_gpio_wkup[] __initconst = { |
126 | { .compatible = "fsl,mpc5200-gpio-wkup", }, | 126 | { .compatible = "fsl,mpc5200-gpio-wkup", }, |
127 | {} | 127 | {} |
128 | }; | 128 | }; |
diff --git a/arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c b/arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c index 37f7a89c10f2..f8f0081759fb 100644 --- a/arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c +++ b/arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c | |||
@@ -564,7 +564,7 @@ static int mpc52xx_lpbfifo_remove(struct platform_device *op) | |||
564 | return 0; | 564 | return 0; |
565 | } | 565 | } |
566 | 566 | ||
567 | static struct of_device_id mpc52xx_lpbfifo_match[] = { | 567 | static const struct of_device_id mpc52xx_lpbfifo_match[] = { |
568 | { .compatible = "fsl,mpc5200-lpbfifo", }, | 568 | { .compatible = "fsl,mpc5200-lpbfifo", }, |
569 | {}, | 569 | {}, |
570 | }; | 570 | }; |
diff --git a/arch/powerpc/platforms/52xx/mpc52xx_pic.c b/arch/powerpc/platforms/52xx/mpc52xx_pic.c index 2898b737deb7..2944bc84b9d6 100644 --- a/arch/powerpc/platforms/52xx/mpc52xx_pic.c +++ b/arch/powerpc/platforms/52xx/mpc52xx_pic.c | |||
@@ -119,12 +119,12 @@ | |||
119 | 119 | ||
120 | 120 | ||
121 | /* MPC5200 device tree match tables */ | 121 | /* MPC5200 device tree match tables */ |
122 | static struct of_device_id mpc52xx_pic_ids[] __initdata = { | 122 | static const struct of_device_id mpc52xx_pic_ids[] __initconst = { |
123 | { .compatible = "fsl,mpc5200-pic", }, | 123 | { .compatible = "fsl,mpc5200-pic", }, |
124 | { .compatible = "mpc5200-pic", }, | 124 | { .compatible = "mpc5200-pic", }, |
125 | {} | 125 | {} |
126 | }; | 126 | }; |
127 | static struct of_device_id mpc52xx_sdma_ids[] __initdata = { | 127 | static const struct of_device_id mpc52xx_sdma_ids[] __initconst = { |
128 | { .compatible = "fsl,mpc5200-bestcomm", }, | 128 | { .compatible = "fsl,mpc5200-bestcomm", }, |
129 | { .compatible = "mpc5200-bestcomm", }, | 129 | { .compatible = "mpc5200-bestcomm", }, |
130 | {} | 130 | {} |