diff options
author | Iru Cai <mytbk920423@gmail.com> | 2016-02-24 15:03:58 +0800 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-02-28 18:55:32 +0100 |
commit | d7ee9dda708321f80161695714737b0f974509d3 (patch) | |
tree | 3b939857d24f0261a0d498dc80bf93adea5e2550 /src/northbridge/intel/i855 | |
parent | 4351ace145c4069f9c93ca7541d6dfaf8300b53b (diff) | |
download | coreboot-d7ee9dda708321f80161695714737b0f974509d3.tar.xz |
northbridge/intel: add missing #include guards
I first found the missing of #include guards when I tried to include
both sandybridge/gma.h and sandybridge/sandybridge.h, but
sandybridge.h includes gma.h in it and gives a compile error.
Change-Id: I13fdb8014b82e6065be2064137b7ea10062deaca
Signed-off-by: Iru Cai <mytbk920423@gmail.com>
Reviewed-on: https://review.coreboot.org/13775
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/northbridge/intel/i855')
-rw-r--r-- | src/northbridge/intel/i855/i855.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/northbridge/intel/i855/i855.h b/src/northbridge/intel/i855/i855.h index 10c7873a7e..467875faf4 100644 --- a/src/northbridge/intel/i855/i855.h +++ b/src/northbridge/intel/i855/i855.h @@ -14,6 +14,9 @@ * GNU General Public License for more details. */ +#ifndef NORTHBRIDGE_INTEL_I855_I855_H +#define NORTHBRIDGE_INTEL_I855_I855_H + /* Host-Hub Interface Bridge */ #define GMC 0x50 /* GMCH Misc. Control (0x0000) */ #define GGC 0x52 /* GMCH Graphics Control (0x0030) */ @@ -70,3 +73,5 @@ #define DRT_TRAS_MIN_7 (1 << 9) #define DRT_TRAS_MIN_6 (2 << 9) #define DRT_TRAS_MIN_5 (3 << 9) + +#endif /* NORTHBRIDGE_INTEL_I855_I855_H */ |