]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: only compile ixgbe_debugfs.o when enabled
authorJacob Keller <jacob.e.keller@intel.com>
Sat, 8 Dec 2012 09:04:25 +0000 (09:04 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 16 Jan 2013 08:21:08 +0000 (00:21 -0800)
commit57fcc0a873a3a3d7306aa1da7679b174773437d9
tree9601bd5bf93cbaf2bb1147018178826ba60036d4
parent5772cfb8bedd4f93f23b70291bae083069b5719c
ixgbe: only compile ixgbe_debugfs.o when enabled

This patch modifies ixgbe_debugfs.c and the Makefile for the ixgbe
driver to only compile the file when the config is enabled. This means
we can remove the #ifdef inside the ixgbe_debugfs.c file.

Signed-off-by: Jacob Keller <jacob.e.keller@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_debugfs.c