tg3: Add the ability to conditionally build w/ HWMON
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 6 Mar 2017 20:56:02 +0000 (12:56 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Mar 2017 21:03:00 +0000 (13:03 -0800)
commit038e893d78037b5876771f84722b459b3916bfaf
tree575a1e71c5aa21cde21a1f20e8982f7e39f2959c
parent9c13e8d0c29303d86321c1f3042bf6e46e98fced
tg3: Add the ability to conditionally build w/ HWMON

Introduce a Kconfig option: CONFIG_TIGON3_HWMON which allows to build
in/out support for thermal sensors reported by Tigon3 NICs.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/Kconfig
drivers/net/ethernet/broadcom/tg3.c