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

Kalle Valo kvalo at qca.qualcomm.com
Fri Jan 9 08:13:18 PST 2015


Kalle Valo <kvalo at qca.qualcomm.com> writes:

> kbuild reported a linking error:
>
> ERROR: "devm_hwmon_device_register_with_groups"
> [drivers/net/wireless/ath/ath10k/ath10k_core.ko] undefined!
>
> Fix it by returning early and letting the compiler to optimise out the function
> call.
>
> Signed-off-by: Kalle Valo <kvalo at qca.qualcomm.com>

Applied to ath.git.

-- 
Kalle Valo



More information about the ath10k mailing list