Commit 5ae36774 authored by Mika Westerberg's avatar Mika Westerberg
Browse files

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: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
parent 4d99f982
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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
 */