cxgb4: fix thermal zone build error
with CONFIG_THERMAL=m and cxgb4 as built-in build fails, and 'commit e70a57fa ("cxgb4: fix thermal configuration dependencies")' tries to fix it but when cxgb4i is made built-in build fails again, use IS_REACHABLE instead of IS_ENABLED to fix the issue. Fixes: e70a57fa (cxgb4: fix thermal configuration dependencies) Reported-by:Randy Dunlap <rdunlap@infradead.org> Signed-off-by:
Ganesh Goudar <ganeshgr@chelsio.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/net/ethernet/chelsio/Kconfig 0 additions, 1 deletiondrivers/net/ethernet/chelsio/Kconfig
- drivers/net/ethernet/chelsio/cxgb4/Makefile 1 addition, 3 deletionsdrivers/net/ethernet/chelsio/cxgb4/Makefile
- drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c 2 additions, 2 deletionsdrivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
Loading
Please register or sign in to comment