diff options
author | Kalle Valo <kvalo@qca.qualcomm.com> | 2015-01-07 17:04:10 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2015-01-09 18:12:36 +0200 |
commit | 96bba98393f97e4c4bfe29341b3ad2adef32bde2 (patch) | |
tree | 213eaf2e7cda3f5b5d1b5d78bae7b23dacabd0a0 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 6faab1273f79788a7d90f8c3c99b9b8f3b404c98 (diff) |
ath10k: fix build error when hwmon is off
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@qca.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions