diff options
| author | Uwe Kleine-König <u.kleine-koenig@baylibre.com> | 2025-06-27 12:22:20 +0200 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-07-01 19:36:27 -0700 |
| commit | e96ee511c906c59b7c4e6efd9d9b33917730e000 (patch) | |
| tree | 71bd4e1bfcc5cbff6f805e1081299869c9af0ae5 /drivers | |
| parent | b9ac2ae0008d0bd2dbd72a92e01b0c0e9b4359f5 (diff) | |
| download | linux-next-e96ee511c906c59b7c4e6efd9d9b33917730e000.tar.gz linux-next-e96ee511c906c59b7c4e6efd9d9b33917730e000.zip | |
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>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/net/ethernet/dec/tulip/xircom_cb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/dec/tulip/xircom_cb.c b/drivers/net/ethernet/dec/tulip/xircom_cb.c index 8759f9f76b62..e5d2ede13845 100644 --- a/drivers/net/ethernet/dec/tulip/xircom_cb.c +++ b/drivers/net/ethernet/dec/tulip/xircom_cb.c @@ -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); |
