diff options
| author | Grant Likely <grant.likely@secretlab.ca> | 2011-01-19 10:59:33 -0500 |
|---|---|---|
| committer | Grant Likely <grant.likely@secretlab.ca> | 2011-01-19 11:16:09 -0500 |
| commit | 5d1034f01b3616d6636ab7851ad9e63d42abbbd6 (patch) | |
| tree | 7b563bd9eab4f43f177f29b74a1b6a98dabdce57 | |
| parent | c56eb8fb6dccb83d9fe62fd4dc00c834de9bc470 (diff) | |
powerpc/83xx: fix build failures on dt compatible list.
Commit a4f740cf, "of/flattree: Add of_flat_dt_match() helper function"
introduced build failures in arch/powerpc/platform/83xx by mistyping
'static' as 'struct' in the compatible string list, and omitting a few
semicolons. This patch fixes it.
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
| -rw-r--r-- | arch/powerpc/platforms/83xx/mpc830x_rdb.c | 4 | ||||
| -rw-r--r-- | arch/powerpc/platforms/83xx/mpc831x_rdb.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/powerpc/platforms/83xx/mpc830x_rdb.c b/arch/powerpc/platforms/83xx/mpc830x_rdb.c index 661d354e4ff2..d0c4e15b7794 100644 --- a/arch/powerpc/platforms/83xx/mpc830x_rdb.c +++ b/arch/powerpc/platforms/83xx/mpc830x_rdb.c | |||
| @@ -57,12 +57,12 @@ static void __init mpc830x_rdb_init_IRQ(void) | |||
| 57 | ipic_set_default_priority(); | 57 | ipic_set_default_priority(); |
| 58 | } | 58 | } |
| 59 | 59 | ||
| 60 | struct const char *board[] __initdata = { | 60 | static const char *board[] __initdata = { |
| 61 | "MPC8308RDB", | 61 | "MPC8308RDB", |
| 62 | "fsl,mpc8308rdb", | 62 | "fsl,mpc8308rdb", |
| 63 | "denx,mpc8308_p1m", | 63 | "denx,mpc8308_p1m", |
| 64 | NULL | 64 | NULL |
| 65 | } | 65 | }; |
| 66 | 66 | ||
| 67 | /* | 67 | /* |
| 68 | * Called very early, MMU is off, device-tree isn't unflattened | 68 | * Called very early, MMU is off, device-tree isn't unflattened |
diff --git a/arch/powerpc/platforms/83xx/mpc831x_rdb.c b/arch/powerpc/platforms/83xx/mpc831x_rdb.c index b54cd736a895..f859ead49a8d 100644 --- a/arch/powerpc/platforms/83xx/mpc831x_rdb.c +++ b/arch/powerpc/platforms/83xx/mpc831x_rdb.c | |||
| @@ -60,11 +60,11 @@ static void __init mpc831x_rdb_init_IRQ(void) | |||
| 60 | ipic_set_default_priority(); | 60 | ipic_set_default_priority(); |
| 61 | } | 61 | } |
| 62 | 62 | ||
| 63 | struct const char *board[] __initdata = { | 63 | static const char *board[] __initdata = { |
| 64 | "MPC8313ERDB", | 64 | "MPC8313ERDB", |
| 65 | "fsl,mpc8315erdb", | 65 | "fsl,mpc8315erdb", |
| 66 | NULL | 66 | NULL |
| 67 | } | 67 | }; |
| 68 | 68 | ||
| 69 | /* | 69 | /* |
| 70 | * Called very early, MMU is off, device-tree isn't unflattened | 70 | * Called very early, MMU is off, device-tree isn't unflattened |
