iwlwifi: use direct calls for transport free
[deliverable/linux.git] / drivers / net / wireless / iwlwifi / iwl-trans-pcie.c
index b6522ca2d8798957b82892be29f79a5cb24052dc..3eab7d52f8ba8111a37dba167fd5836388e417cf 100644 (file)
@@ -1549,7 +1549,7 @@ static void iwl_trans_pcie_configure(struct iwl_trans *trans,
        trans_pcie->command_names = trans_cfg->command_names;
 }
 
-static void iwl_trans_pcie_free(struct iwl_trans *trans)
+void iwl_trans_pcie_free(struct iwl_trans *trans)
 {
        struct iwl_trans_pcie *trans_pcie =
                IWL_TRANS_GET_PCIE_TRANS(trans);
@@ -2044,7 +2044,7 @@ static int iwl_trans_pcie_dbgfs_register(struct iwl_trans *trans,
 
 #endif /*CONFIG_IWLWIFI_DEBUGFS */
 
-const struct iwl_trans_ops trans_ops_pcie = {
+static const struct iwl_trans_ops trans_ops_pcie = {
        .start_hw = iwl_trans_pcie_start_hw,
        .stop_hw = iwl_trans_pcie_stop_hw,
        .fw_alive = iwl_trans_pcie_fw_alive,
@@ -2061,8 +2061,6 @@ const struct iwl_trans_ops trans_ops_pcie = {
        .tx_agg_disable = iwl_trans_pcie_tx_agg_disable,
        .tx_agg_setup = iwl_trans_pcie_tx_agg_setup,
 
-       .free = iwl_trans_pcie_free,
-
        .dbgfs_register = iwl_trans_pcie_dbgfs_register,
 
        .wait_tx_queue_empty = iwl_trans_pcie_wait_tx_queue_empty,
This page took 0.025819 seconds and 5 git commands to generate.