Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] agp/intel: use #ifdef idiom for intel-agp.h
@ 2010-08-27  3:19 Zhenyu Wang
  2010-08-27  3:19 ` [PATCH 2/3] agp/intel: add new intel-gtt.h for new GTT controls Zhenyu Wang
  2010-08-27  3:19 ` [PATCH 3/3] agp/intel: Fix cache control for Sandybridge Zhenyu Wang
  0 siblings, 2 replies; 3+ messages in thread
From: Zhenyu Wang @ 2010-08-27  3:19 UTC (permalink / raw)
  To: eric; +Cc: intel-gfx

Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
---
 drivers/char/agp/intel-agp.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

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
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-08-27  3:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-27  3:19 [PATCH 1/3] agp/intel: use #ifdef idiom for intel-agp.h Zhenyu Wang
2010-08-27  3:19 ` [PATCH 2/3] agp/intel: add new intel-gtt.h for new GTT controls Zhenyu Wang
2010-08-27  3:19 ` [PATCH 3/3] agp/intel: Fix cache control for Sandybridge Zhenyu Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox