summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorJon Smirl <jonsmirl@yahoo.com>2004-09-16 14:32:17 +0000
committerJon Smirl <jonsmirl@yahoo.com>2004-09-16 14:32:17 +0000
commit5dfd89ae0a4894a3b9de17c17bb75c47e6509b8e (patch)
treec8dbcf5e4cca74a99a5092ff53b8cd79402388c8 /linux-core
parenteeb0ef1a7076e7744655954e95a65532eb4b7ebe (diff)
Fix drm_scatter to properly report it's availability
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/drm_scatter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/drm_scatter.c b/linux-core/drm_scatter.c
index dd5bea82..b1f3d846 100644
--- a/linux-core/drm_scatter.c
+++ b/linux-core/drm_scatter.c
@@ -73,7 +73,7 @@ int DRM(sg_alloc)( struct inode *inode, struct file *filp,
DRM_DEBUG( "%s\n", __FUNCTION__ );
- if (drm_core_check_feature(dev, DRIVER_SG))
+ if (!drm_core_check_feature(dev, DRIVER_SG))
return -EINVAL;
if ( dev->sg )