mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
There are no other files referencing this function, apparently
it was left global to avoid an 'unused function' warning when
the only caller is left out. With a 'W=1' build, it causes
a 'missing prototype' warning though:
drivers/memstick/host/r592.c:47:13: error: no previous prototype for 'memstick_debug_get_tpc_name' [-Werror=missing-prototypes]
Annotate the function as 'static __maybe_unused' to avoid both
problems.
Fixes:
|
||
|---|---|---|
| .. | ||
| jmb38x_ms.c | ||
| Kconfig | ||
| Makefile | ||
| r592.c | ||
| r592.h | ||
| rtsx_pci_ms.c | ||
| rtsx_usb_ms.c | ||
| tifm_ms.c | ||