diff options
author | Kefeng Wang <[email protected]> | 2019-05-09 23:32:35 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-05-09 09:48:44 -0700 |
commit | 70610c922bae2f3f974eef955ef254defb7755ce (patch) | |
tree | cb5f67be9428a130d137d8d01073f8edf8643d58 /tools/testing/selftests/bpf/prog_tests/bpf_verif_scale.c | |
parent | d7e163ced48f942c9a307117e15b0f863a01bc1e (diff) |
net: aquantia: fix undefined devm_hwmon_device_register_with_info reference
drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.o: In function `aq_drvinfo_init':
aq_drvinfo.c:(.text+0xe8): undefined reference to `devm_hwmon_device_register_with_info'
Fix it by using #if IS_REACHABLE(CONFIG_HWMON).
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Kefeng Wang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/bpf_verif_scale.c')
0 files changed, 0 insertions, 0 deletions