Searched hist:cd50430ceb3598957803934068531a274349bcf9 (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/macintosh/ams/ |
H A D | ams-core.c | diff cd50430ceb3598957803934068531a274349bcf9 Thu Aug 10 16:19:24 CEST 2023 Arnd Bergmann <arnd@arndb.de> macintosh/ams: mark ams_init() static
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 <arnd@arndb.de> Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/20230810141947.1236730-7-arnd@kernel.org
|