aboutsummaryrefslogtreecommitdiff
path: root/platforms
diff options
context:
space:
mode:
authorAndrew Donnellan <andrew.donnellan@au1.ibm.com>2017-10-09 15:46:32 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-10-10 13:36:17 +1100
commitc375cfca55d70b079720b80153a8631a60504bcb (patch)
treeec5ba8e95c094002e0f6d875af033744f80e6978 /platforms
parentabb1d4e81f336d4a5e38c45b6560b2298c7022d4 (diff)
downloadskiboot-c375cfca55d70b079720b80153a8631a60504bcb.zip
skiboot-c375cfca55d70b079720b80153a8631a60504bcb.tar.gz
skiboot-c375cfca55d70b079720b80153a8631a60504bcb.tar.bz2
platforms/astbmc: Make platform symbols consistent
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>
Diffstat (limited to 'platforms')
-rw-r--r--platforms/astbmc/romulus.c2
-rw-r--r--platforms/astbmc/zaius.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/platforms/astbmc/romulus.c b/platforms/astbmc/romulus.c
index af90af1..e1b137c 100644
--- a/platforms/astbmc/romulus.c
+++ b/platforms/astbmc/romulus.c
@@ -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,
diff --git a/platforms/astbmc/zaius.c b/platforms/astbmc/zaius.c
index 9fd6c50..74c7f13 100644
--- a/platforms/astbmc/zaius.c
+++ b/platforms/astbmc/zaius.c
@@ -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,