Skip to content

Commit

Permalink
agp/intel: use #ifdef idiom for intel-agp.h
Browse files Browse the repository at this point in the history
Signed-off-by: Zhenyu Wang <[email protected]>
Cc: [email protected]
Signed-off-by: Chris Wilson <[email protected]>
  • Loading branch information
zhenyw authored and ickle committed Sep 7, 2010
1 parent 8dfc2b1 commit 93f5f7f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/char/agp/intel-agp.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/*
* Common Intel AGPGART and GTT definitions.
*/
#ifndef _INTEL_AGP_H
#define _INTEL_AGP_H

/* Intel registers */
#define INTEL_APSIZE 0xb4
Expand Down Expand Up @@ -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

0 comments on commit 93f5f7f

Please sign in to comment.