drm: stash AGP include under the do-we-have-AGP ifdef

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>
This commit is contained in:
Eric Anholt 2009-01-15 01:16:25 -08:00 committed by Dave Airlie
parent 4942f8b23b
commit 1bb88edb7a

View File

@ -33,10 +33,11 @@
#include "drmP.h"
#include <linux/module.h>
#include <asm/agp.h>
#if __OS_HAS_AGP
#include <asm/agp.h>
/**
* Get AGP information.
*