Skip to content

Commit

Permalink
powerpc/83xx: fix build failures on dt compatible list.
Browse files Browse the repository at this point in the history
Commit a4f740c, "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>
  • Loading branch information
Grant Likely committed Jan 19, 2011
1 parent c56eb8f commit 5d1034f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions arch/powerpc/platforms/83xx/mpc830x_rdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ static void __init mpc830x_rdb_init_IRQ(void)
ipic_set_default_priority();
}

struct const char *board[] __initdata = {
static const char *board[] __initdata = {
"MPC8308RDB",
"fsl,mpc8308rdb",
"denx,mpc8308_p1m",
NULL
}
};

/*
* Called very early, MMU is off, device-tree isn't unflattened
Expand Down
4 changes: 2 additions & 2 deletions arch/powerpc/platforms/83xx/mpc831x_rdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ static void __init mpc831x_rdb_init_IRQ(void)
ipic_set_default_priority();
}

struct const char *board[] __initdata = {
static const char *board[] __initdata = {
"MPC8313ERDB",
"fsl,mpc8315erdb",
NULL
}
};

/*
* Called very early, MMU is off, device-tree isn't unflattened
Expand Down

0 comments on commit 5d1034f

Please sign in to comment.