Latest 3.6.6 are not compiling due tg3 network driver,hwmon_device_unregister

From: Denys Fedoryshchenko
Date: Wed Nov 14 2012 - 22:03:44 EST


Hi

During compiling i am getting that:

drivers/built-in.o: In function `tg3_close':
tg3.c:(.text+0x12902e): undefined reference to `hwmon_device_unregister'
drivers/built-in.o: In function `tg3_hwmon_open':
tg3.c:(.text+0x12ae09): undefined reference to `hwmon_device_register'

Kernel config are at http://nuclearcat.com/config-tg3.txt , but i noticed this error are appearing at x86, x64 kernels, probably also other 3.6.x series kernels.
Disabling TG3 driver helps, but i believe it is not a solution.

---
Denys Fedoryshchenko, Network Engineer, Virtual ISP S.A.L.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/