]> git.proxmox.com Git - mirror_ubuntu-disco-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, 23 Jan 2013 22:33:29 +0000 (14:33 -0800)
commitb205c0de495ea0a7cd073ff92b47a480c1b24ebe
tree38f35cfc55d02ff45f9f6966342f74e1f3a71edf
parent39dfb71bc03c5a4015d25611c0f1121991d548e6
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