ethernet: ldmvsw: mark ldmvsw_open() static
authorArnd Bergmann <arnd@arndb.de>
Thu, 10 Aug 2023 12:25:15 +0000 (14:25 +0200)
committerJakub Kicinski <kuba@kernel.org>
Sat, 12 Aug 2023 01:24:02 +0000 (18:24 -0700)
commitea6f782fe5841249456c4b64c38b9c4508e05529
tree3d6f1920cd7d002f35de3a21a6a484bddb626df3
parent80f9ad046052509d0eee9b72e11d0e8ae31b665f
ethernet: ldmvsw: mark ldmvsw_open() static

The function is exported for no reason and should just be static:

drivers/net/ethernet/sun/ldmvsw.c:127:5: error: no previous prototype for 'ldmvsw_open' [-Werror=missing-prototypes]

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Simon Horman <horms@kernel.org>
Tested-by: Simon Horman <horms@kernel.org> # build-tested
Link: https://lore.kernel.org/r/20230810122528.1220434-1-arnd@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/sun/ldmvsw.c