summaryrefslogtreecommitdiff
path: root/thermal.h
diff options
context:
space:
mode:
Diffstat (limited to 'thermal.h')
-rw-r--r--thermal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/thermal.h b/thermal.h
index fcdcb47..ec36a0c 100644
--- a/thermal.h
+++ b/thermal.h
@@ -18,7 +18,7 @@
#ifndef _THERMAL_H_
#define _THERMAL_H_
-#ifdef CONFIG_THERMAL
+#if IS_ENABLED(CONFIG_THERMAL)
int mwl_thermal_register(struct mwl_priv *priv);
void mwl_thermal_unregister(struct mwl_priv *priv);
void mwl_thermal_set_throttling(struct mwl_priv *priv);