projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8dfc2b1
)
agp/intel: use #ifdef idiom for intel-agp.h
author
Zhenyu Wang
<zhenyuw@linux.intel.com>
Fri, 27 Aug 2010 03:06:48 +0000
(11:06 +0800)
committer
Chris 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/char/agp/intel-agp.h
b/drivers/char/agp/intel-agp.h
index 08d47532e60590f169f74995007e745623c4cd66..78124a8402e5d7f94568bc29160a5d266ab49145 100644
(file)
--- 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