diff options
author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2020-03-05 10:37:15 +0100 |
---|---|---|
committer | Mika Westerberg <mika.westerberg@linux.intel.com> | 2020-06-22 18:58:32 +0200 |
commit | 719a5fe87ecd71d140c3ef76d855c70f82893411 (patch) | |
tree | a6da267df90ca89476e0bf19876465f994ad5918 /drivers/thunderbolt/domain.c | |
parent | thunderbolt: Add Intel USB-IF ID to the NVM upgrade supported list (diff) | |
download | linux-719a5fe87ecd71d140c3ef76d855c70f82893411.tar.xz linux-719a5fe87ecd71d140c3ef76d855c70f82893411.zip |
thunderbolt: Split common NVM functionality into a separate file
We are going to reuse some of this functionality to implement retimer
NVM upgrade so move common NVM functionality into its own file. We also
rename the structure from tb_switch_nvm to tb_nvm to make it clear that
it is not just for switches.
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'drivers/thunderbolt/domain.c')
-rw-r--r-- | drivers/thunderbolt/domain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thunderbolt/domain.c b/drivers/thunderbolt/domain.c index 68c1b93ac5d9..bba4cbfa9759 100644 --- a/drivers/thunderbolt/domain.c +++ b/drivers/thunderbolt/domain.c @@ -812,6 +812,6 @@ void tb_domain_exit(void) { bus_unregister(&tb_bus_type); ida_destroy(&tb_domain_ida); - tb_switch_exit(); + tb_nvm_exit(); tb_xdomain_exit(); } |