drm: move agp include outside CONFIG_AGP as it isn't dependant on agp in kernel

This commit is contained in:
Dave Airlie 2007-12-10 10:13:52 +10:00
parent 7d08b816b7
commit cfa21b22b4

View 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