ethernet: atarilance: mark init function static
authorArnd Bergmann <arnd@arndb.de>
Thu, 10 Aug 2023 12:25:16 +0000 (14:25 +0200)
committerJakub Kicinski <kuba@kernel.org>
Sat, 12 Aug 2023 01:24:02 +0000 (18:24 -0700)
commit7191c140faa2631dd28d382ec53fb94d47c170cc
tree918e485b282d88fa999662a66c3a22bd56b6cdf2
parentea6f782fe5841249456c4b64c38b9c4508e05529
ethernet: atarilance: mark init function static

The init function is only referenced locally, so it should be static to
avoid this warning:

drivers/net/ethernet/amd/atarilance.c:370:28: error: no previous prototype for 'atarilance_probe' [-Werror=missing-prototypes]

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20230810122528.1220434-2-arnd@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/amd/atarilance.c