wifi: iwlwifi: take send-DSM-to-FW flows out of ACPI ifdef

These functions shouldn't be ACPI_CONFIG dependent, as they don't
access the ACPI. The functions that really access ACPI -
already handle the case that CONFIG_ACPI is not set.

Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Reviewed-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://msgid.link/20240201155157.1412e6d561f8.I84f67478d01b576457e1bf489fbcb044adfda6fe@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
Miri Korenblit
2024-02-01 16:17:34 +02:00
committed by Johannes Berg
parent dc2b94a111
commit b97ada404c
2 changed files with 0 additions and 20 deletions

View File

@@ -243,11 +243,6 @@ static inline int iwl_acpi_get_tas_table(struct iwl_fw_runtime *fwrt,
return -ENOENT;
}
static inline __le32 iwl_acpi_get_lari_config_bitmap(struct iwl_fw_runtime *fwrt)
{
return 0;
}
static inline int iwl_acpi_get_ppag_table(struct iwl_fw_runtime *fwrt)
{
return -ENOENT;

View File

@@ -1201,8 +1201,6 @@ static void iwl_mvm_tas_init(struct iwl_mvm *mvm)
IWL_DEBUG_RADIO(mvm, "failed to send TAS_CONFIG (%d)\n", ret);
}
#ifdef CONFIG_ACPI
static bool iwl_mvm_eval_dsm_rfi(struct iwl_mvm *mvm)
{
u8 value = 0;
@@ -1350,19 +1348,6 @@ static void iwl_mvm_lari_cfg(struct iwl_mvm *mvm)
mvm->fwrt.uats_enabled = TRUE;
}
#else /* CONFIG_ACPI */
static void iwl_mvm_lari_cfg(struct iwl_mvm *mvm)
{
}
static bool iwl_mvm_eval_dsm_rfi(struct iwl_mvm *mvm)
{
return false;
}
#endif /* CONFIG_ACPI */
void iwl_mvm_get_bios_tables(struct iwl_mvm *mvm)
{
int ret;