Re: [PATCH 06/17] macintosh/ams: mark ams_init() static

2023-08-10 Thread Christophe Leroy
Le 10/08/2023 à 16:19, Arnd Bergmann a écrit : > From: Arnd Bergmann > > This is the module init function, which by definition is used only > locally, so mark it static to avoid a warning: > > drivers/macintosh/ams/ams-core.c:179:12: error: no previous prototype for > 'ams_init' [-Werror=miss

[PATCH 06/17] macintosh/ams: mark ams_init() static

2023-08-10 Thread Arnd Bergmann
From: Arnd Bergmann This is the module init function, which by definition is used only locally, so mark it static to avoid a warning: drivers/macintosh/ams/ams-core.c:179:12: error: no previous prototype for 'ams_init' [-Werror=missing-prototypes] Signed-off-by: Arnd Bergmann --- drivers/mac