macintosh/ams: mark ams_init() static
authorArnd Bergmann <arnd@arndb.de>
Thu, 10 Aug 2023 14:19:24 +0000 (16:19 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 14 Aug 2023 11:54:04 +0000 (21:54 +1000)
commitcd50430ceb3598957803934068531a274349bcf9
tree0b36fddf9f6c3250b396e7614d2e01c7cdfb262c
parent506e550a7da9e995bea3bd585db591068f98b2bf
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
drivers/macintosh/ams/ams-core.c