]> git.baikalelectronics.ru Git - kernel.git/commit
ax88796: export ax_NS8390_init() hook
authorMichael Schmitz <schmitzmic@gmail.com>
Tue, 3 Aug 2021 11:40:44 +0000 (13:40 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Aug 2021 12:05:25 +0000 (13:05 +0100)
commit0c752fd12fe5ad5d86319574aa824bdb4cef1495
tree3270d9c35f7b659438348f1ff6bb7ec38735e080
parentf2cacb2a1f10c5e61895dfaacb76647805961681
ax88796: export ax_NS8390_init() hook

The block I/O code for the new X-Surf 100 ax88796 driver needs
ax_NS8390_init() for error fixup in its block_output function.

Export this static function through the ax_NS8390_reinit()
wrapper so we can lose the lib8380.c include in the X-Surf 100
driver.

[arnd: add the declaration in the header to avoid a
 -Wmissing-prototypes warning]
Fixes: 917c359f3817e96a ("net-next: New ax88796 platform
driver for Amiga X-Surf 100 Zorro board (m68k)")
Signed-off-by: Michael Schmitz <schmitzmic@gmail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/8390/ax88796.c
include/net/ax88796.h