sections: fix section conflicts in arch/powerpc
authorAndi Kleen <ak@linux.intel.com>
Fri, 5 Oct 2012 00:11:37 +0000 (17:11 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 5 Oct 2012 18:04:39 +0000 (03:04 +0900)
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/powerpc/platforms/40x/ppc40x_simple.c
arch/powerpc/platforms/512x/mpc5121_generic.c
arch/powerpc/platforms/52xx/lite5200.c
arch/powerpc/platforms/52xx/media5200.c
arch/powerpc/platforms/83xx/mpc837x_rdb.c
arch/powerpc/platforms/85xx/tqm85xx.c

index 97612068fae303cac93604ed01c7d5353ca86b61..969dddcf33203aab139798f4b5f3dcdf99804f67 100644 (file)
@@ -50,7 +50,7 @@ machine_device_initcall(ppc40x_simple, ppc40x_device_probe);
  * Again, if your board needs to do things differently then create a
  * board.c file for it rather than adding it to this list.
  */
-static const char *board[] __initdata = {
+static const char * const board[] __initconst = {
        "amcc,acadia",
        "amcc,haleakala",
        "amcc,kilauea",
index 926731f1ff01b587901cf88feab77161b4194849..ca1ca66699908a633e971814bda1ddf3ee87ca1b 100644 (file)
@@ -26,7 +26,7 @@
 /*
  * list of supported boards
  */
-static const char *board[] __initdata = {
+static const char * const board[] __initconst = {
        "prt,prtlvt",
        NULL
 };
index 01ffa64d2aa7faf06582db473c96d4ac305621bd..448d862bcf3d76cfbfca3fba68d8b21c1a821ff4 100644 (file)
@@ -172,7 +172,7 @@ static void __init lite5200_setup_arch(void)
        mpc52xx_setup_pci();
 }
 
-static const char *board[] __initdata = {
+static const char * const board[] __initconst = {
        "fsl,lite5200",
        "fsl,lite5200b",
        NULL,
index 17d91b7da315a512eea94803752a0efecdd6b57a..070d315dd6cd18359a4b62bb0927ca3681f84998 100644 (file)
@@ -232,7 +232,7 @@ static void __init media5200_setup_arch(void)
 }
 
 /* list of the supported boards */
-static const char *board[] __initdata = {
+static const char * const board[] __initconst = {
        "fsl,media5200",
        NULL
 };
index 16c9c9cbbb7fa48967219dcd3d4a0a7fe4a0c66d..eca1f0960fffac31e23307ddfe6f3010ddc481c4 100644 (file)
@@ -60,7 +60,7 @@ static void __init mpc837x_rdb_setup_arch(void)
 
 machine_device_initcall(mpc837x_rdb, mpc83xx_declare_of_platform_devices);
 
-static const char *board[] __initdata = {
+static const char * const board[] __initconst = {
        "fsl,mpc8377rdb",
        "fsl,mpc8378rdb",
        "fsl,mpc8379rdb",
index 3e70a2035e53c50b68e3625b87d5634b8041fffb..b62fa87521a320f36e0eacceb937e721774cdf15 100644 (file)
@@ -125,7 +125,7 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_TI, PCI_DEVICE_ID_TI_1520,
 
 machine_device_initcall(tqm85xx, mpc85xx_common_publish_devices);
 
-static const char *board[] __initdata = {
+static const char * const board[] __initconst = {
        "tqc,tqm8540",
        "tqc,tqm8541",
        "tqc,tqm8548",