Re: [PATCH 2/2] ethernet: atarilance: mark init function static

From: Yang Yingliang
Date: Thu Aug 10 2023 - 08:50:46 EST



On 2023/8/10 20:25, Arnd Bergmann wrote:
From: Arnd Bergmann <arnd@xxxxxxxx>

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@xxxxxxxx>
Reviewed-by: Yang Yingliang <yangyingliang@xxxxxxxxxx>