octeontx2-nicvf: fix ioctl callback
authorArnd Bergmann <arnd@arndb.de>
Fri, 5 Nov 2021 09:29:40 +0000 (10:29 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 5 Nov 2021 14:23:21 +0000 (14:23 +0000)
commita6785bd7d83c9e73c6a6aa33d30a071460074728
tree1175387bea9c3c08a3a00741793c00d0b1360960
parent9dcc00715a7c0aea0d3afe1e935f4b4aefbeb294
octeontx2-nicvf: fix ioctl callback

The mii ioctls are now handled by the ndo_eth_ioctl() callback,
not the old ndo_do_ioctl(), but octeontx2-nicvf introduced the
function for the old way.

Move it over to ndo_eth_ioctl() to actually allow calling it from
user space.

Fixes: 43510ef4ddad ("octeontx2-nicvf: Add PTP hardware clock support to NIX VF")
Fixes: a76053707dbf ("dev_ioctl: split out ndo_eth_ioctl")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c