]> git.ipfire.org Git - thirdparty/linux.git/commit
net: atlantic: Rename PCI driver struct to end in _driver
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>
Mon, 30 Jun 2025 16:44:07 +0000 (18:44 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 2 Jul 2025 02:35:58 +0000 (19:35 -0700)
commitb9ac2ae0008d0bd2dbd72a92e01b0c0e9b4359f5
tree0f780baef1bd4afbe44b1395dc2ce31138851b39
parent6b9c9def95cb402374730d51a1f44927f467b774
net: atlantic: Rename PCI driver struct to end in _driver

This is not only a cosmetic change because the section mismatch checks
(implemented in scripts/mod/modpost.c) also depend on the object's name
and for drivers the checks are stricter than for ops.

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

The cheating^Wmisleading name was introduced in commit 97bde5c4f909
("net: ethernet: aquantia: Support for NIC-specific code")

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250630164406.57589-2-u.kleine-koenig@baylibre.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c