[Intel-gfx] [PATCH i-g-t 2/2] intel_chipset: Add multiple inclusion guards into intel_chipset.h

ville.syrjala at linux.intel.com ville.syrjala at linux.intel.com
Mon Feb 18 20:41:10 CET 2013


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
 lib/intel_chipset.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/lib/intel_chipset.h b/lib/intel_chipset.h
index 6b4fab3..f703239 100755
--- a/lib/intel_chipset.h
+++ b/lib/intel_chipset.h
@@ -25,6 +25,9 @@
  *
  */
 
+#ifndef _INTEL_CHIPSET_H
+#define _INTEL_CHIPSET_H
+
 #define PCI_CHIP_I810			0x7121
 #define PCI_CHIP_I810_DC100		0x7123
 #define PCI_CHIP_I810_E			0x7125
@@ -274,3 +277,5 @@
 
 #define IS_CRESTLINE(devid)	((devid) == PCI_CHIP_I965_GM || \
 				 (devid) == PCI_CHIP_I965_GME)
+
+#endif /* _INTEL_CHIPSET_H */
-- 
1.7.12.4




More information about the Intel-gfx mailing list