drm: move agp include outside CONFIG_AGP as it isn't dependant on agp in kernel
authorDave Airlie <airlied@linux.ie>
Mon, 10 Dec 2007 00:13:52 +0000 (10:13 +1000)
committerDave Airlie <airlied@linux.ie>
Mon, 10 Dec 2007 00:13:52 +0000 (10:13 +1000)
linux-core/drmP.h

index 78b4b84..dbf2a92 100644 (file)
@@ -66,8 +66,8 @@
 #ifdef CONFIG_MTRR
 #include <asm/mtrr.h>
 #endif
-#if defined(CONFIG_AGP) || defined(CONFIG_AGP_MODULE)
 #include <asm/agp.h>
+#if defined(CONFIG_AGP) || defined(CONFIG_AGP_MODULE)
 #include <linux/types.h>
 #include <linux/agp_backend.h>
 #endif