diff options
author | Rajkumar Manoharan <rmanohar@qti.qualcomm.com> | 2015-01-13 14:21:45 +0530 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2015-01-13 16:23:28 +0200 |
commit | a4031afbdc7bfdf26b98b160a5fca05b9cf38140 (patch) | |
tree | 2e3c8ddc64f297b41fbb2d94973dd178dc66766d /drivers/net/wireless | |
parent | 5de6dfc82f715b9fe9cf5c0cccce4384a82279ef (diff) | |
download | op-kernel-dev-a4031afbdc7bfdf26b98b160a5fca05b9cf38140.zip op-kernel-dev-a4031afbdc7bfdf26b98b160a5fca05b9cf38140.tar.gz |
ath10k: fix config_enabled check for hwmon
Because of wrong macro check in commit 96bba98393f9 ("ath10k: fix build error
when hwmon is off"), hwmon never be enabled. Fix that.
Signed-off-by: Rajkumar Manoharan <rmanohar@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/ath/ath10k/thermal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath10k/thermal.c b/drivers/net/wireless/ath/ath10k/thermal.c index b14ae8d..c384c79 100644 --- a/drivers/net/wireless/ath/ath10k/thermal.c +++ b/drivers/net/wireless/ath/ath10k/thermal.c @@ -215,7 +215,7 @@ int ath10k_thermal_register(struct ath10k *ar) /* Avoid linking error on devm_hwmon_device_register_with_groups, I * guess linux/hwmon.h is missing proper stubs. */ - if (!config_enabled(HWMON)) + if (!config_enabled(CONFIG_HWMON)) return 0; hwmon_dev = devm_hwmon_device_register_with_groups(ar->dev, |