Skip to content

Commit

Permalink
sections: fix section conflicts in arch/powerpc
Browse files Browse the repository at this point in the history
Signed-off-by: Andi Kleen <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Andi Kleen authored and torvalds committed Oct 5, 2012
1 parent 3cf5ae6 commit 9597abe
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/40x/ppc40x_simple.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/512x/mpc5121_generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
/*
* list of supported boards
*/
static const char *board[] __initdata = {
static const char * const board[] __initconst = {
"prt,prtlvt",
NULL
};
Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/52xx/lite5200.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/52xx/media5200.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
};
Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/83xx/mpc837x_rdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/85xx/tqm85xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 9597abe

Please sign in to comment.