]> git.baikalelectronics.ru Git - kernel.git/commitdiff
net: phy: mscc: Add MODULE_FIRMWARE macros
authorJuerg Haefliger <juerg.haefliger@canonical.com>
Wed, 16 Mar 2022 15:18:35 +0000 (16:18 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 17 Mar 2022 16:06:09 +0000 (09:06 -0700)
The driver requires firmware so define MODULE_FIRMWARE so that modinfo
provides the details.

Fixes: fa164e40c53b ("net: phy: mscc: split the driver into separate files")
Signed-off-by: Juerg Haefliger <juergh@canonical.com>
Link: https://lore.kernel.org/r/20220316151835.88765-1-juergh@canonical.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/mscc/mscc_main.c

index ebfeeb3c67c1d94c5751f0d66cba5720324d32bd..7e3017e7a1c0324746f1e53a068a70eddacdbea3 100644 (file)
@@ -2685,3 +2685,6 @@ MODULE_DEVICE_TABLE(mdio, vsc85xx_tbl);
 MODULE_DESCRIPTION("Microsemi VSC85xx PHY driver");
 MODULE_AUTHOR("Nagaraju Lakkaraju");
 MODULE_LICENSE("Dual MIT/GPL");
+
+MODULE_FIRMWARE(MSCC_VSC8584_REVB_INT8051_FW);
+MODULE_FIRMWARE(MSCC_VSC8574_REVB_INT8051_FW);