Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

net: tulip: Rename PCI driver struct to end in _driver

This is not only a cosmetic change because the section mismatch checks
also depend on the name and for drivers the checks are stricter than for
ops.

However xircom_driver also passes the stricter checks just fine, so no
further changes needed.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Link: https://patch.msgid.link/20250627102220.1937649-2-u.kleine-koenig@baylibre.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Uwe Kleine-König and committed by
Jakub Kicinski
e96ee511 b9ac2ae0

+2 -2
+2 -2
drivers/net/ethernet/dec/tulip/xircom_cb.c
··· 143 143 }; 144 144 MODULE_DEVICE_TABLE(pci, xircom_pci_table); 145 145 146 - static struct pci_driver xircom_ops = { 146 + static struct pci_driver xircom_driver = { 147 147 .name = "xircom_cb", 148 148 .id_table = xircom_pci_table, 149 149 .probe = xircom_probe, ··· 1169 1169 } 1170 1170 } 1171 1171 1172 - module_pci_driver(xircom_ops); 1172 + module_pci_driver(xircom_driver);