diff options
author | Arnd Bergmann <arnd@arndb.de> | 2023-05-16 22:27:04 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2023-06-12 15:16:19 +0200 |
commit | 434587df9f7fd68575f99a889cc5f2efc2eaee5e (patch) | |
tree | 6cd3da21d77164df0e08ff691d1da1ce6722aa06 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a3332b7aad346b14770797e03ddd02ebdb14db41 (diff) |
memstick r592: make memstick_debug_get_tpc_name() static
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: 926341250102 ("memstick: add driver for Ricoh R5C592 card reader")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20230516202714.560929-1-arnd@kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions