summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/igb
diff options
context:
space:
mode:
authorTom Seewald <tseewald@gmail.com>2021-02-22 07:00:04 +0300
committerTony Nguyen <anthony.l.nguyen@intel.com>2021-03-19 18:47:46 +0300
commit896ea5dab25ef12f7d0988b8f0b053a287faf889 (patch)
tree3a530c9a640285f3ab46b7ca60a8d2e6ad95da9d /drivers/net/ethernet/intel/igb
parentc79a707072fe3fea0e3c92edee6ca85c1e53c29f (diff)
downloadlinux-896ea5dab25ef12f7d0988b8f0b053a287faf889.tar.xz
e1000e: Fix duplicate include guard
The include guard "_E1000_HW_H_" is used by header files in three different drivers (e1000/e1000_hw.h, e1000e/hw.h, and igb/e1000_hw.h). Using the same include guard macro in more than one header file may cause unexpected behavior from the compiler. Fix the duplicate include guard in the e1000e driver by renaming it. Fixes: bc7f75fa9788 ("[E1000E]: New pci-express e1000 driver (currently for ICH9 devices only)") Signed-off-by: Tom Seewald <tseewald@gmail.com> Tested-by: Dvora Fuxbrumer <dvorax.fuxbrumer@linux.intel.com> Acked-by: Sasha Neftin <sasha.neftin@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/igb')
0 files changed, 0 insertions, 0 deletions