summaryrefslogtreecommitdiff
path: root/linux/drmP.h
diff options
context:
space:
mode:
authorRik Faith <faith@alephnull.com>2000-07-20 01:52:00 +0000
committerRik Faith <faith@alephnull.com>2000-07-20 01:52:00 +0000
commit0bd1fa795a06f592c1115b251685b36fec63fed3 (patch)
treee65f04963b2f252d08ba7c0760d314bd08343f88 /linux/drmP.h
parente8c9ed03f8d950ef82c09e387001b2fd43b81182 (diff)
Fixes for building in the kernel tree
Diffstat (limited to 'linux/drmP.h')
-rw-r--r--linux/drmP.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drmP.h b/linux/drmP.h
index 06dc6afa..866aabf6 100644
--- a/linux/drmP.h
+++ b/linux/drmP.h
@@ -50,7 +50,7 @@
#ifdef CONFIG_MTRR
#include <asm/mtrr.h>
#endif
-#ifdef CONFIG_AGP
+#if defined(CONFIG_AGP) || defined(CONFIG_AGP_MODULE)
#define DRM_AGP
#endif
#ifdef DRM_AGP