]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
net: tulip: Rename PCI driver struct to end in _driver
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>
Fri, 27 Jun 2025 10:22:20 +0000 (12:22 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 2 Jul 2025 02:36:27 +0000 (19:36 -0700)
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>
drivers/net/ethernet/dec/tulip/xircom_cb.c

index 8759f9f76b621719c4e278296f075e3f1ac92450..e5d2ede1384598b057daa8250c3f52312e87a7d3 100644 (file)
@@ -143,7 +143,7 @@ static const struct pci_device_id xircom_pci_table[] = {
 };
 MODULE_DEVICE_TABLE(pci, xircom_pci_table);
 
-static struct pci_driver xircom_ops = {
+static struct pci_driver xircom_driver = {
        .name           = "xircom_cb",
        .id_table       = xircom_pci_table,
        .probe          = xircom_probe,
@@ -1169,4 +1169,4 @@ investigate_write_descriptor(struct net_device *dev,
        }
 }
 
-module_pci_driver(xircom_ops);
+module_pci_driver(xircom_driver);