Skip to content

Commit

Permalink
platforms/astbmc: Make platform symbols consistent
Browse files Browse the repository at this point in the history
The DECLARE_PLATFORM macro takes the supplied platform name and adds "_platform"
to it when defining the platform struct.

Remove the _platform from the platform name for zaius and romulus so we have
"zaius_platform" rather than "zaius_platform_platform", for consistency's
sake...

Signed-off-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
  • Loading branch information
ajdlinux authored and stewartsmith committed Oct 10, 2017
1 parent abb1d4e commit c375cfc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion platforms/astbmc/romulus.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ static bool romulus_probe(void)
return true;
}

DECLARE_PLATFORM(romulus_platform) = {
DECLARE_PLATFORM(romulus) = {
.name = "Romulus",
.probe = romulus_probe,
.init = astbmc_init,
Expand Down
2 changes: 1 addition & 1 deletion platforms/astbmc/zaius.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ static bool zaius_probe(void)
return true;
}

DECLARE_PLATFORM(zaius_platform) = {
DECLARE_PLATFORM(zaius) = {
.name = "Zaius",
.probe = zaius_probe,
.init = astbmc_init,
Expand Down

0 comments on commit c375cfc

Please sign in to comment.