From: "hpp.iscas" <hppiscas@163.com>
To: Jens Axboe <axboe@kernel.dk>
Cc: "hpp.iscas" <hppiscas@163.com>,
linux-block@vger.kernel.org, linux-kernel@vger.kernel.org,
Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Paul Mackerras <paulus@ozlabs.org>
Subject: [PATCH] block: swim3: Publish the MacIO OF module aliases
Date: Sat, 5 Sep 2026 21:35:51 +0800 [thread overview]
Message-ID: <20260905133551.65061-1-hppiscas@163.com> (raw)
The SWIM3 driver registers swim3_match with the MacIO bus. MacIO emits
OF modalias events, but this module only has a block-major alias. The
block-major alias does not describe the OF devices in the match table.
Publish the existing OF IDs while retaining block-major loading.
Fixes: 3e9a69275f23 ("[POWERPC] Update the SWIM3 (powermac) floppy driver")
Signed-off-by: hpp.iscas <hppiscas@163.com>
---
drivers/block/swim3.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/block/swim3.c b/drivers/block/swim3.c
index d4f0d43..fe6f3b9 100644
--- a/drivers/block/swim3.c
+++ b/drivers/block/swim3.c
@@ -1262,6 +1262,7 @@ static const struct of_device_id swim3_match[] =
},
{ /* end of list */ }
};
+MODULE_DEVICE_TABLE(of, swim3_match);
static struct macio_driver swim3_driver =
{
reply other threads:[~2026-09-05 13:36 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=20260905133551.65061-1-hppiscas@163.com \
--to=hppiscas@163.com \
--cc=axboe@kernel.dk \
--cc=benh@kernel.crashing.org \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=paulus@ozlabs.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