mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 02:20:52 +07:00
dc0d79b5c9
We get a warning for the fas216 driver when it is compiled as a loadable module, as the __setup() functions are never called then: scsi/arm/fas216.c:101:19: warning: 'fas216_log_setup' defined but not used [-Wunused-function] static int __init fas216_log_setup(char *str) This adds an #ifndef MODULE around the definition to shut up the warning and clarify for the reader when it is used or not. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> |
||
---|---|---|
.. | ||
acornscsi-io.S | ||
acornscsi.c | ||
acornscsi.h | ||
arxescsi.c | ||
cumana_1.c | ||
cumana_2.c | ||
eesox.c | ||
fas216.c | ||
fas216.h | ||
Kconfig | ||
Makefile | ||
msgqueue.c | ||
msgqueue.h | ||
oak.c | ||
powertec.c | ||
queue.c | ||
queue.h | ||
scsi.h |