summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2006-04-25 13:58:23 +0100
committerDavid Woodhouse <dwmw2@infradead.org>2006-04-25 13:58:23 +0100
commit72b9760b65cbe0d24e668c34c8fefb2ba417f14b (patch)
tree9feae872f60e08f604369ca4e4a7f9f2564f7229
parenta1ff0eafce81a58861534926722a70f211b04faa (diff)
downloadlinux-72b9760b65cbe0d24e668c34c8fefb2ba417f14b.tar.gz
Don't include agp_backend.h in user-visible part of agpgart.h
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-rw-r--r--include/linux/agpgart.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/agpgart.h b/include/linux/agpgart.h
index 6d59c8efe3be..bfb8ec791b7b 100644
--- a/include/linux/agpgart.h
+++ b/include/linux/agpgart.h
@@ -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