mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH] fixup! magicvar: Replace BAREBOX_MAGICVAR_NAMED with BAREBOX_MAGICVAR
Date: Mon,  5 Oct 2020 10:07:55 +0200	[thread overview]
Message-ID: <20201005080755.25618-1-a.fatoum@pengutronix.de> (raw)

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

                 reply	other threads:[~2020-10-05  8:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201005080755.25618-1-a.fatoum@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox