From 6dd96a15ed329f26565bb971877f03e15801f3f5 Mon Sep 17 00:00:00 2001 From: Rik Faith Date: Fri, 21 Jul 2000 16:57:00 +0000 Subject: Revert some changes and try alternative way to clean up AGP handling. --- linux/r128_bufs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'linux/r128_bufs.c') diff --git a/linux/r128_bufs.c b/linux/r128_bufs.c index 7256147b..e8ff4df4 100644 --- a/linux/r128_bufs.c +++ b/linux/r128_bufs.c @@ -36,7 +36,7 @@ #include "linux/un.h" -#ifdef CONFIG_DRM_AGP +#ifdef DRM_AGP int r128_addbufs_agp(struct inode *inode, struct file *filp, unsigned int cmd, unsigned long arg) { @@ -199,7 +199,7 @@ int r128_addbufs(struct inode *inode, struct file *filp, unsigned int cmd, sizeof(request), -EFAULT); -#ifdef CONFIG_DRM_AGP +#ifdef DRM_AGP if (request.flags & _DRM_AGP_BUFFER) return r128_addbufs_agp(inode, filp, cmd, arg); else -- cgit v1.2.3