diff options
author | Wei Yongjun <[email protected]> | 2020-07-28 01:11:49 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-07-28 13:15:01 +0200 |
commit | 25252919a1050e4e013a40e4c5d2645e677157a0 (patch) | |
tree | 59b9b7360ece0d3252f032236753163495976fe5 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | b0e02550346e676e104a47d1f050dc21d46cd35d (diff) |
xhci: dbgtty: Make some functions static
The sparse tool complains as follows:
drivers/usb/host/xhci-dbgtty.c:401:5: warning:
symbol 'xhci_dbc_tty_register_device' was not declared. Should it be static?
drivers/usb/host/xhci-dbgtty.c:452:6: warning:
symbol 'xhci_dbc_tty_unregister_device' was not declared. Should it be static?
After commit 6ae6470bfa33 ("xhci: dbc: Add a operations structure
to access driver functions"), those functions are not used outside
of xhci-dbgtty.c, so this commit marks them static.
Fixes: 6ae6470bfa33 ("xhci: dbc: Add a operations structure to access driver functions")
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Wei Yongjun <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions