summaryrefslogtreecommitdiff
path: root/linux-core/drmP.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux-core/drmP.h')
-rw-r--r--linux-core/drmP.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/linux-core/drmP.h b/linux-core/drmP.h
index 3362313e..06dc6afa 100644
--- a/linux-core/drmP.h
+++ b/linux-core/drmP.h
@@ -50,6 +50,9 @@
#ifdef CONFIG_MTRR
#include <asm/mtrr.h>
#endif
+#ifdef CONFIG_AGP
+#define DRM_AGP
+#endif
#ifdef DRM_AGP
#include <linux/types.h>
#include <linux/agp_backend.h>