From: Zhenyu Wang Date: Fri, 27 Aug 2010 03:06:48 +0000 (+0800) Subject: agp/intel: use #ifdef idiom for intel-agp.h X-Git-Tag: v2.6.36-rc4~9^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=93f5f7f1249e76a5e8afbdab53f90b10c41fdb61;p=platform%2Fkernel%2Flinux-stable.git agp/intel: use #ifdef idiom for intel-agp.h Signed-off-by: Zhenyu Wang Cc: stable@kernel.org Signed-off-by: Chris Wilson --- diff --git a/drivers/char/agp/intel-agp.h b/drivers/char/agp/intel-agp.h index 08d4753..78124a8 100644 --- a/drivers/char/agp/intel-agp.h +++ b/drivers/char/agp/intel-agp.h @@ -1,6 +1,8 @@ /* * Common Intel AGPGART and GTT definitions. */ +#ifndef _INTEL_AGP_H +#define _INTEL_AGP_H /* Intel registers */ #define INTEL_APSIZE 0xb4 @@ -244,3 +246,5 @@ 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