mirror of https://gitee.com/openkylin/linux.git
Don't include agp_backend.h in user-visible part of agpgart.h
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
This commit is contained in:
parent
a1ff0eafce
commit
72b9760b65
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue