summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/igb/igb_main.c
diff options
context:
space:
mode:
authorTom Seewald <tseewald@gmail.com>2021-02-21 22:00:05 -0600
committerTony Nguyen <anthony.l.nguyen@intel.com>2021-03-19 08:47:46 -0700
commita75519a84855bca029ce7d8a27de9409d9b84956 (patch)
tree2458575d15debaeb45faeb105770586ba0eca62c /drivers/net/ethernet/intel/igb/igb_main.c
parent896ea5dab25ef12f7d0988b8f0b053a287faf889 (diff)
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>
Diffstat (limited to 'drivers/net/ethernet/intel/igb/igb_main.c')
0 files changed, 0 insertions, 0 deletions