summaryrefslogtreecommitdiffstats
path: root/drivers/char/agp/compat_ioctl.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-06-19 02:42:17 +0200
committerDave Airlie <airlied@redhat.com>2008-06-19 02:42:17 +0200
commit9516b030b484fc99cf24213caf88df01f99248dd (patch)
treeffe28d3a70d9f7b29eb9f438e52e78d79f5e3ad1 /drivers/char/agp/compat_ioctl.c
parentdrivers/char/agp - use bool (diff)
downloadlinux-9516b030b484fc99cf24213caf88df01f99248dd.tar.xz
linux-9516b030b484fc99cf24213caf88df01f99248dd.zip
agp: more boolean conversions.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/char/agp/compat_ioctl.c')
-rw-r--r--drivers/char/agp/compat_ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/agp/compat_ioctl.c b/drivers/char/agp/compat_ioctl.c
index 39275794fe63..58c57cb2518c 100644
--- a/drivers/char/agp/compat_ioctl.c
+++ b/drivers/char/agp/compat_ioctl.c
@@ -214,7 +214,7 @@ long compat_agp_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
ret_val = -EINVAL;
goto ioctl_out;
}
- if ((agp_fe.backend_acquired != TRUE) &&
+ if ((agp_fe.backend_acquired != true) &&
(cmd != AGPIOC_ACQUIRE32)) {
ret_val = -EBUSY;
goto ioctl_out;