From: Sascha Hauer <s.hauer@pengutronix.de>
To: "open list:BAREBOX" <barebox@lists.infradead.org>
Subject: [PATCH 2/3] ratp: do not export ratp command list
Date: Mon, 07 Apr 2025 09:29:54 +0200 [thread overview]
Message-ID: <20250407-ratp-fixes-v1-2-4c2501a83bca@pengutronix.de> (raw)
In-Reply-To: <20250407-ratp-fixes-v1-0-4c2501a83bca@pengutronix.de>
ratp_command_list is not even declared outside common/ratp/ratp.c, so
make it static.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
common/ratp/ratp.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/common/ratp/ratp.c b/common/ratp/ratp.c
index 5cbdb8bd5f..925e1d637f 100644
--- a/common/ratp/ratp.c
+++ b/common/ratp/ratp.c
@@ -28,8 +28,7 @@
#include <fs.h>
#include <console_countdown.h>
-LIST_HEAD(ratp_command_list);
-EXPORT_SYMBOL(ratp_command_list);
+static LIST_HEAD(ratp_command_list);
#define for_each_ratp_command(cmd) list_for_each_entry(cmd, &ratp_command_list, list)
--
2.39.5
next prev parent reply other threads:[~2025-04-07 7:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-07 7:29 [PATCH 0/3] ratp: fixes Sascha Hauer
2025-04-07 7:29 ` [PATCH 1/3] ratp: Drop wrong alignment annotation Sascha Hauer
2025-04-07 7:59 ` Ahmad Fatoum
2025-04-07 13:10 ` Sascha Hauer
2025-04-07 7:29 ` Sascha Hauer [this message]
2025-04-07 7:29 ` [PATCH 3/3] ratp: make ratp commands const Sascha Hauer
2025-04-07 13:09 ` [PATCH 0/3] ratp: fixes Sascha Hauer
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=20250407-ratp-fixes-v1-2-4c2501a83bca@pengutronix.de \
--to=s.hauer@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