[PATCH] fixup! magicvar: Replace BAREBOX_MAGICVAR_NAMED with BAREBOX_MAGICVAR
Ahmad Fatoum
a.fatoum at pengutronix.de
Mon Oct 5 04:07:55 EDT 2020
BAREBOX_MAGICVAR_NAMED was renamed, but this last instance remains.
Fix it up.
Signed-off-by: Ahmad Fatoum <a.fatoum at 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
More information about the barebox
mailing list