diff options
author | Harish Patil <harish.patil@qlogic.com> | 2014-05-07 02:06:15 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-05-07 17:23:25 -0400 |
commit | f398a77177716137cceda2f00901f54413677869 (patch) | |
tree | 7eedc81f43165bcd805d9565908e2c39f61eb7e8 /scripts/dtc/fdtput.c | |
parent | c1a58d6a8d31ce133ff992e602655c29deb13e60 (diff) |
qlcnic: Fix Kconfig dependency on HWMON
Commit 1f0f467b670e "qlcnic: Add hwmon interface to export board
temperature" introduced a randconfig build error in the case
when the hwmon framework is built as a module and the qlcnic
driver itself is built-in:
drivers/built-in.o: In function `qlcnic_register_hwmon_dev':
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c:1301:
undefined reference to `hwmon_device_register_with_groups'
drivers/built-in.o: In function `qlcnic_unregister_hwmon_dev':
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c:1309:
undefined reference to `hwmon_device_unregister'.
This changes the Kconfig logic to enforce that the qlcnic hwmon
support can only be enabled if it is possible to successfully
build it.
Signed-off-by: Harish Patil <harish.patil@qlogic.com>
Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/dtc/fdtput.c')
0 files changed, 0 insertions, 0 deletions