diff options
author | 2024-08-26 14:50:22 +0300 | |
---|---|---|
committer | 2025-01-03 11:50:08 +0200 | |
commit | 5ae367748f157355f0fab2662917e8800eb21d41 (patch) | |
tree | e39743ecdbf39adc5b744fc6a2036c7b304f941d | |
parent | thunderbolt: Pass reason to tb_dp_resource_unavailable() (diff) | |
download | wireguard-linux-5ae367748f157355f0fab2662917e8800eb21d41.tar.xz wireguard-linux-5ae367748f157355f0fab2662917e8800eb21d41.zip |
thunderbolt: Move forward declarations in one place
Sometimes we need to have these but move them into one place so that the
code is bit more understanable.
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/thunderbolt/tb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/thunderbolt/tb.c b/drivers/thunderbolt/tb.c index 60454f9b9475..79ebf70f42e5 100644 --- a/drivers/thunderbolt/tb.c +++ b/drivers/thunderbolt/tb.c @@ -76,6 +76,7 @@ struct tb_hotplug_event { bool unplug; }; +static void tb_scan_port(struct tb_port *port); static void tb_handle_hotplug(struct work_struct *work); static void tb_queue_hotplug(struct tb *tb, u64 route, u8 port, bool unplug) @@ -1238,8 +1239,6 @@ static void tb_configure_link(struct tb_port *down, struct tb_port *up, tb_switch_configure_link(sw); } -static void tb_scan_port(struct tb_port *port); - /* * tb_scan_switch() - scan for and initialize downstream switches */ |