diff options
author | Markus Armbruster <armbru@redhat.com> | 2016-06-29 10:12:57 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2016-07-12 16:19:16 +0200 |
commit | 121d07125bb6d7079c7ebafdd3efe8c3a01cc440 (patch) | |
tree | f6201b5906fcb3bfd73aeb1ce74e104249b41c27 /hw/net/e1000_regs.h | |
parent | 85aad98a0e0a93c146fd4c306114f23824a3db5f (diff) |
Clean up header guards that don't match their file name
Header guard symbols should match their file name to make guard
collisions less likely. Offenders found with
scripts/clean-header-guards.pl -vn.
Cleaned up with scripts/clean-header-guards.pl, followed by some
renaming of new guard symbols picked by the script to better ones.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'hw/net/e1000_regs.h')
-rw-r--r-- | hw/net/e1000_regs.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/hw/net/e1000_regs.h b/hw/net/e1000_regs.h index c1acd458f2..23eed50b9c 100644 --- a/hw/net/e1000_regs.h +++ b/hw/net/e1000_regs.h @@ -29,9 +29,8 @@ * Structures, enums, and macros for the MAC */ -#ifndef _E1000_HW_H_ -#define _E1000_HW_H_ - +#ifndef HW_E1000_REGS_H +#define HW_E1000_REGS_H /* PCI Device IDs */ #define E1000_DEV_ID_82542 0x1000 @@ -1248,4 +1247,4 @@ struct e1000_data_desc { #define E1000_IOADDR 0x00 #define E1000_IODATA 0x04 -#endif /* _E1000_HW_H_ */ +#endif /* HW_E1000_REGS_H */ |