[PATCH] ath10k: fix build error when hwmon is off

Kalle Valo kvalo at qca.qualcomm.com
Wed Jan 7 06:33:46 PST 2015


Rajkumar Manoharan <rmanohar at qti.qualcomm.com> writes:

> Place hwmon APIs inside CONFIG_HWMON switch to fix undefined
> errors when hwmon is not enabled.
>
> ERROR: "devm_hwmon_device_register_with_groups"
> [drivers/net/wireless/ath/ath10k/ath10k_core.ko] undefined!
>
> Reported-by: Kalle Valo <kvalo at qca.qualcomm.com>
> Signed-off-by: Rajkumar Manoharan <rmanohar at qti.qualcomm.com>

Thanks, but this has too many ifdefs for my taste. I have another idea,
let me send v2 shortly.

-- 
Kalle Valo



More information about the ath10k mailing list