* [PATCH] fixup! magicvar: Replace BAREBOX_MAGICVAR_NAMED with BAREBOX_MAGICVAR
@ 2020-10-05 8:07 Ahmad Fatoum
0 siblings, 0 replies; only message in thread
From: Ahmad Fatoum @ 2020-10-05 8:07 UTC (permalink / raw)
To: barebox; +Cc: Ahmad Fatoum
BAREBOX_MAGICVAR_NAMED was renamed, but this last instance remains.
Fix it up.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
drivers/power/reset/reboot-mode.c | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/drivers/power/reset/reboot-mode.c b/drivers/power/reset/reboot-mode.c
index 313ba6dc3af7..df3be03edf33 100644
--- a/drivers/power/reset/reboot-mode.c
+++ b/drivers/power/reset/reboot-mode.c
@@ -225,9 +225,7 @@ const char *reboot_mode_get(void)
}
EXPORT_SYMBOL_GPL(reboot_mode_get);
-BAREBOX_MAGICVAR_NAMED(global_system_reboot_mode_prev,
- global.system.reboot_mode.prev,
- "reboot-mode: Mode set previously, before barebox start");
-BAREBOX_MAGICVAR_NAMED(global_system_reboot_mode_next,
- global.system.reboot_mode.next,
- "reboot-mode: Mode to set next, to be evaluated after reset");
+BAREBOX_MAGICVAR(global.system.reboot_mode.prev,
+ "reboot-mode: Mode set previously, before barebox start");
+BAREBOX_MAGICVAR(global.system.reboot_mode.next,
+ "reboot-mode: Mode to set next, to be evaluated after reset");
--
2.28.0
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-10-05 8:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-05 8:07 [PATCH] fixup! magicvar: Replace BAREBOX_MAGICVAR_NAMED with BAREBOX_MAGICVAR Ahmad Fatoum
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox