Don't include agp_backend.h in user-visible part of agpgart.h
authorDavid Woodhouse <dwmw2@infradead.org>
Tue, 25 Apr 2006 12:58:23 +0000 (13:58 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Tue, 25 Apr 2006 12:58:23 +0000 (13:58 +0100)
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
include/linux/agpgart.h

index 6d59c8e..bfb8ec7 100644 (file)
@@ -27,8 +27,6 @@
 #ifndef _AGP_H
 #define _AGP_H 1
 
-#include <linux/agp_backend.h>
-
 #define AGPIOC_BASE       'A'
 #define AGPIOC_INFO       _IOR (AGPIOC_BASE, 0, struct agp_info*)
 #define AGPIOC_ACQUIRE    _IO  (AGPIOC_BASE, 1)
@@ -112,6 +110,7 @@ typedef struct _agp_unbind {
 
 #else                          /* __KERNEL__ */
 #include <linux/mutex.h>
+#include <linux/agp_backend.h>
 
 #define AGPGART_MINOR 175