]> git.baikalelectronics.ru Git - kernel.git/commit
ax88796c: fix ioctl callback
authorArnd Bergmann <arnd@arndb.de>
Fri, 5 Nov 2021 09:29:39 +0000 (10:29 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 5 Nov 2021 14:23:21 +0000 (14:23 +0000)
commit0ee6689d16fa8021cf4a05ed3894eb844fa263da
tree6201cefbcef97fad9b092f4f9bae67644909bcba
parent279005631afddbf74c9df5df9c8b0c521a21711c
ax88796c: fix ioctl callback

The timestamp ioctls are now handled by the ndo_eth_ioctl() callback,
not the old ndo_do_ioctl(), but oax88796 introduced the
function for the old way.

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

Fixes: 41969ffea93b ("net: ax88796c: ASIX AX88796C SPI Ethernet Adapter Driver")
Fixes: 8d944ab8cc20 ("dev_ioctl: split out ndo_eth_ioctl")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Lukasz Stelmach <l.stelmach@samsung.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/asix/ax88796c_main.c