summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2026-03-12 15:13:52 +0300
committerJakub Kicinski <kuba@kernel.org>2026-03-14 19:42:58 +0300
commitf807b5b9b89eb9220d034115c272c312251cbcac (patch)
tree4e01cf7ef6e2190f2711657186fa0c5aaaae345e /include/uapi/linux
parentf4ce4922df8d1c3417f4bc21314ac7d5e4c92ab7 (diff)
downloadlinux-f807b5b9b89eb9220d034115c272c312251cbcac.tar.xz
net: stmmac: avoid passing pci_dev
The pci_dev is only used to provide the ethtool bus_info using pci_name(priv->plat->pdev). This is the same as dev_name(priv->device). Thus, rather than passing the pci_dev, make use of what we already have. To avoid unexpectedly exposing the device name through ethtool where it wasn't provided before, add a flag priv->plat->provide_bus_info to enable this, which only dwmac-intel needs to set. Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/E1w0evI-0000000CzY7-1fyo@rmk-PC.armlinux.org.uk Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions