drm: stash AGP include under the do-we-have-AGP ifdef
authorEric Anholt <eric@anholt.net>
Thu, 15 Jan 2009 09:16:25 +0000 (01:16 -0800)
committerDave Airlie <airlied@redhat.com>
Thu, 22 Jan 2009 12:27:11 +0000 (22:27 +1000)
This fixes the MIPS with DRM build.

Signed-off-by: Eric Anholt <eric@anholt.net>
Tested-by: Martin Michlmayr <tbm@cyrius.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_agpsupport.c

index 3d33b8252b58dadb1a0102824889a9abb482bf2d..14796594e5d95044283d928c05a270e4a5577e21 100644 (file)
 
 #include "drmP.h"
 #include <linux/module.h>
-#include <asm/agp.h>
 
 #if __OS_HAS_AGP
 
+#include <asm/agp.h>
+
 /**
  * Get AGP information.
  *