]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: enetc: rename "xdp" and "dev" in enetc_setup_bpf()
authorVladimir Oltean <vladimir.oltean@nxp.com>
Tue, 17 Jan 2023 23:02:32 +0000 (01:02 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 19 Jan 2023 04:52:26 +0000 (20:52 -0800)
commit766338c79b1045866870b795882c4d42c64c9c53
treebc29d6550c0259ebe794e1ba78191a36cf4436be
parent5093406c784f83f7fc6cc1f1bd49c2b062275954
net: enetc: rename "xdp" and "dev" in enetc_setup_bpf()

Follow the convention from this driver, which is to name "struct
net_device *" as "ndev", and the convention from other drivers, to name
"struct netdev_bpf *" as "bpf".

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/freescale/enetc/enetc.c
drivers/net/ethernet/freescale/enetc/enetc.h