igb: Fix duplicate include guard
authorTom Seewald <tseewald@gmail.com>
Mon, 22 Feb 2021 04:00:05 +0000 (22:00 -0600)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Fri, 19 Mar 2021 15:47:46 +0000 (08:47 -0700)
commita75519a84855bca029ce7d8a27de9409d9b84956
tree2458575d15debaeb45faeb105770586ba0eca62c
parent896ea5dab25ef12f7d0988b8f0b053a287faf889
igb: Fix duplicate include guard

The include guard "_E1000_HW_H_" is used by two separate header files in
two different drivers (e1000/e1000_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 this by renaming the
duplicate guard in the igb driver.

Fixes: 9d5c824399de ("igb: PCI-Express 82575 Gigabit Ethernet driver")
Signed-off-by: Tom Seewald <tseewald@gmail.com>
Reviewed-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/igb/e1000_hw.h