Skip to contentSkip to conversation

block: swim3: Publish the MacIO OF module aliases

PATCH New hpp.iscas 1 participant 1 message Sep 5 Block layer

lore
Share & tools
lore

hpp.iscas

author
#0 lore raw

PATCH 1/1 block: swim3: Publish the MacIO OF module aliases

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")
---
 drivers/block/swim3.c | 1 +
 1 file changed, 1 insertion(+)
drivers/block/swim3.c +1 -0
index d4f0d43..fe6f3b9 100644
@@ -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 =
 {