* [PATCH] block: swim3: Publish the MacIO OF module aliases
@ 2026-09-05 13:35 hpp.iscas
0 siblings, 0 replies; only message in thread
From: hpp.iscas @ 2026-09-05 13:35 UTC (permalink / raw)
To: Jens Axboe
Cc: hpp.iscas, linux-block, linux-kernel, Benjamin Herrenschmidt,
Paul Mackerras
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 =
{
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-05 13:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-05 13:35 [PATCH] block: swim3: Publish the MacIO OF module aliases hpp.iscas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®