aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c')
-rw-r--r--drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c
index 5084699baeab..77a6d68f7189 100644
--- a/drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c
+++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c
@@ -158,7 +158,7 @@ static const struct pci_device_id stmmac_id_table[] = {
158 158
159MODULE_DEVICE_TABLE(pci, stmmac_id_table); 159MODULE_DEVICE_TABLE(pci, stmmac_id_table);
160 160
161struct pci_driver stmmac_pci_driver = { 161static struct pci_driver stmmac_pci_driver = {
162 .name = STMMAC_RESOURCE_NAME, 162 .name = STMMAC_RESOURCE_NAME,
163 .id_table = stmmac_id_table, 163 .id_table = stmmac_id_table,
164 .probe = stmmac_pci_probe, 164 .probe = stmmac_pci_probe,
@@ -168,6 +168,8 @@ struct pci_driver stmmac_pci_driver = {
168 }, 168 },
169}; 169};
170 170
171module_pci_driver(stmmac_pci_driver);
172
171MODULE_DESCRIPTION("STMMAC 10/100/1000 Ethernet PCI driver"); 173MODULE_DESCRIPTION("STMMAC 10/100/1000 Ethernet PCI driver");
172MODULE_AUTHOR("Rayagond Kokatanur <rayagond.kokatanur@vayavyalabs.com>"); 174MODULE_AUTHOR("Rayagond Kokatanur <rayagond.kokatanur@vayavyalabs.com>");
173MODULE_AUTHOR("Giuseppe Cavallaro <peppe.cavallaro@st.com>"); 175MODULE_AUTHOR("Giuseppe Cavallaro <peppe.cavallaro@st.com>");