diff options
author | Michael Schmitz <schmitzmic@gmail.com> | 2021-08-03 13:40:44 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-08-03 14:05:25 +0200 |
commit | 375df5f8c1812c59930cfed14ff4cc15929c8f2f (patch) | |
tree | 3270d9c35f7b659438348f1ff6bb7ec38735e080 /include/net/ax88796.h | |
parent | m68k: remove legacy probing (diff) | |
download | linux-375df5f8c1812c59930cfed14ff4cc15929c8f2f.tar.xz linux-375df5f8c1812c59930cfed14ff4cc15929c8f2f.zip |
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: 861928f4e60e826c ("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>
Diffstat (limited to 'include/net/ax88796.h')
-rw-r--r-- | include/net/ax88796.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/ax88796.h b/include/net/ax88796.h index aa52b2e8ff7b..2ed23a368602 100644 --- a/include/net/ax88796.h +++ b/include/net/ax88796.h @@ -38,4 +38,7 @@ struct ax_plat_data { int (*check_irq)(struct platform_device *pdev); }; +/* exported from ax88796.c for xsurf100.c */ +extern void ax_NS8390_reinit(struct net_device *dev); + #endif /* __NET_AX88796_PLAT_H */ |