Skip to content

Commit

Permalink
drm: stash AGP include under the do-we-have-AGP ifdef
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Eric Anholt authored and Dave Airlie committed Jan 22, 2009
1 parent 4942f8b commit 1bb88ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/gpu/drm/drm_agpsupport.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down

0 comments on commit 1bb88ed

Please sign in to comment.