diff options
author | Arnd Bergmann <arnd@arndb.de> | 2023-05-16 21:45:36 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-05-18 06:29:09 +0200 |
commit | 2e9f8ab68f42b059e80db71266c1675c07c664bd (patch) | |
tree | c491d01ac72b8d8a5f934e5bd0a33d2443dfbaed /MAINTAINERS | |
parent | bridge: always declare tunnel functions (diff) | |
download | linux-2e9f8ab68f42b059e80db71266c1675c07c664bd.tar.xz linux-2e9f8ab68f42b059e80db71266c1675c07c664bd.zip |
mdio_bus: unhide mdio_bus_init prototype
mdio_bus_init() is either used as a local module_init() entry,
or it gets called in phy_device.c. In the former case, there
is no declaration, which causes a warning:
drivers/net/phy/mdio_bus.c:1371:12: error: no previous prototype for 'mdio_bus_init' [-Werror=missing-prototypes]
Remove the #ifdef around the declaration to avoid the warning..
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20230516194625.549249-4-arnd@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions