diff options
| author | Eric Anholt <eric@anholt.net> | 2009-01-15 12:16:25 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-02-02 20:53:23 +0300 |
| commit | 4b3e1dc6ff5618366947fbc790e14ab04ba45a1d (patch) | |
| tree | d4619e790568846c9da471bdae064d446025a04e | |
| parent | d18697bfa9ee06801f552679373a8ef08437b0cb (diff) | |
| download | linux-4b3e1dc6ff5618366947fbc790e14ab04ba45a1d.tar.xz | |
drm: stash AGP include under the do-we-have-AGP ifdef
commit 1bb88edb7a3769992026f34fd648bb459b0469aa upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
| -rw-r--r-- | drivers/gpu/drm/drm_agpsupport.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_agpsupport.c b/drivers/gpu/drm/drm_agpsupport.c index 3d33b8252b58..14796594e5d9 100644 --- a/drivers/gpu/drm/drm_agpsupport.c +++ b/drivers/gpu/drm/drm_agpsupport.c @@ -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. * |
