|
@@ -36,7 +36,7 @@ struct ath10k_thermal {
|
|
|
int temperature;
|
|
int temperature;
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
-#ifdef CONFIG_THERMAL
|
|
|
|
|
|
|
+#if IS_REACHABLE(CONFIG_THERMAL)
|
|
|
int ath10k_thermal_register(struct ath10k *ar);
|
|
int ath10k_thermal_register(struct ath10k *ar);
|
|
|
void ath10k_thermal_unregister(struct ath10k *ar);
|
|
void ath10k_thermal_unregister(struct ath10k *ar);
|
|
|
void ath10k_thermal_event_temperature(struct ath10k *ar, int temperature);
|
|
void ath10k_thermal_event_temperature(struct ath10k *ar, int temperature);
|