]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
agp/intel: use #ifdef idiom for intel-agp.h
authorZhenyu Wang <zhenyuw@linux.intel.com>
Fri, 27 Aug 2010 03:06:48 +0000 (11:06 +0800)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 7 Sep 2010 10:16:42 +0000 (11:16 +0100)
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Cc: stable@kernel.org
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/char/agp/intel-agp.h

index 08d47532e60590f169f74995007e745623c4cd66..78124a8402e5d7f94568bc29160a5d266ab49145 100644 (file)
@@ -1,6 +1,8 @@
 /*
  * Common Intel AGPGART and GTT definitions.
  */
+#ifndef _INTEL_AGP_H
+#define _INTEL_AGP_H
 
 /* Intel registers */
 #define INTEL_APSIZE   0xb4
                agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_IRONLAKE_MA_HB || \
                agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_IRONLAKE_MC2_HB || \
                IS_SNB)
+
+#endif