block: swim3: Publish the MacIO OF module aliases
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")
Signed-off-by hpp.iscas <[email protected]>
--- drivers/block/swim3.c | 1 + 1 file changed, 1 insertion(+)
drivers/block/swim3.c +1 -0
@@ -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 = {