From c375cfca55d70b079720b80153a8631a60504bcb Mon Sep 17 00:00:00 2001 From: Andrew Donnellan Date: Mon, 9 Oct 2017 15:46:32 +1100 Subject: 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 Signed-off-by: Stewart Smith --- platforms/astbmc/romulus.c | 2 +- platforms/astbmc/zaius.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'platforms') 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, -- cgit v1.1