diff options
author | Ben Dooks <ben-linux@fluff.org> | 2022-07-22 00:24:30 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-07-28 11:35:23 +0300 |
commit | c7039ce904c0f80253a1171d10353e7832c3e4b3 (patch) | |
tree | 4cc000b42df89e05dbb5bb3250ad4c65e24c2b0c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 070298c84e5b924c688a4d08c3a9193175cdffd8 (diff) | |
download | linux-c7039ce904c0f80253a1171d10353e7832c3e4b3.tar.xz |
serial: stm32: make info structs static to avoid sparse warnings
The info structs are local only to the stm32-usart.c driver and are
triggering sparse warnings about being undecalred. Move these into
the main driver code and make them static to avoid the following
warnings:
drivers/tty/serial/stm32-usart.h:42:25: warning: symbol 'stm32f4_info' was not declared. Should it be static?
drivers/tty/serial/stm32-usart.h:63:25: warning: symbol 'stm32f7_info' was not declared. Should it be static?
drivers/tty/serial/stm32-usart.h:85:25: warning: symbol 'stm32h7_info' was not declared. Should it be static?
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Link: https://lore.kernel.org/r/20220721212430.453192-1-ben-linux@fluff.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions