diff options
-rw-r--r-- | Kconfig | 2 | ||||
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | thermal.h | 2 |
3 files changed, 5 insertions, 3 deletions
@@ -21,3 +21,5 @@ config MWLWIFI supporting more comprehensive client functions for laptops/embedded devices. MWLWIFI is mac80211-based for full AP/Wireless Bridge. +config MWLWIFI_THERMAL + depends on MWLWIFI && THERMAL && (!MWLWIFI=y && THERMAL=m) @@ -7,8 +7,8 @@ mwlwifi-objs += fwcmd.o mwlwifi-objs += tx.o mwlwifi-objs += rx.o mwlwifi-objs += isr.o -mwlwifi-$(CONFIG_THERMAL) += thermal.o -mwlwifi-$(CONFIG_DEBUG_FS) += debugfs.o +mwlwifi-$(CONFIG_MWLWIFI_THERMAL) += thermal.o +mwlwifi-$(CONFIG_DEBUG_FS) += debugfs.o ifeq (1, $(BUILD_MFG)) mwlwifi-objs += mfg.o endif @@ -18,7 +18,7 @@ #ifndef _THERMAL_H_ #define _THERMAL_H_ -#ifdef CONFIG_THERMAL +#ifdef CONFIG_MWLWIFI_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); |