linux-stable/drivers/macintosh/ams
Arnd Bergmann cd50430ceb 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
2023-08-14 21:54:04 +10:00
..
ams-core.c macintosh/ams: mark ams_init() static 2023-08-14 21:54:04 +10:00
ams-i2c.c macintosh: Switch i2c drivers back to use .probe() 2023-06-14 12:46:41 +10:00
ams-input.c macintosh/ams-input: switch to using input device polling mode 2020-05-28 23:24:32 +10:00
ams-pmu.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
ams.h macintosh/ams/ams: Add header file macro definition 2022-11-24 23:12:17 +11:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00