[Skiboot] [PATCH] platforms/astbmc: Make platform symbols consistent
Andrew Donnellan
andrew.donnellan at au1.ibm.com
Mon Oct 9 15:46:32 AEDT 2017
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 at au1.ibm.com>
---
platforms/astbmc/romulus.c | 2 +-
platforms/astbmc/zaius.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/platforms/astbmc/romulus.c b/platforms/astbmc/romulus.c
index af90af15..e1b137cb 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 9fd6c50d..74c7f13e 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,
--
2.11.0
More information about the Skiboot
mailing list