aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2023-05-16 21:45:36 +0200
committerJakub Kicinski <[email protected]>2023-05-17 21:29:09 -0700
commit2e9f8ab68f42b059e80db71266c1675c07c664bd (patch)
treec491d01ac72b8d8a5f934e5bd0a33d2443dfbaed /lib/mpi/mpi-mod.c
parent89dcd87ce534a3a7f267cfd58505803006f51301 (diff)
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions