ixgbe: do not compile ixgbe_sysfs.c when CONFIG_IXGBE_HWMON is not set
authorEmil Tantilov <emil.s.tantilov@intel.com>
Wed, 16 May 2012 07:06:38 +0000 (07:06 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 14 Jun 2012 10:12:41 +0000 (03:12 -0700)
commit6cbc52ef10ba3c7fbd8954270c025ffbf643ab05
treeeb353dadea5cb905193a10e68b14c174fea73af7
parent4f8a91ad9aafbc7c70097a16404fa89aa41c8deb
ixgbe: do not compile ixgbe_sysfs.c when CONFIG_IXGBE_HWMON is not set

ixgbe_sysfs.c is only needed when CONFIG_IXGBE_HWMON is configured in the
kernel.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Acked-by: Don Skidmore <Donald.c.skidmore@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/Makefile
drivers/net/ethernet/intel/ixgbe/ixgbe_sysfs.c