diff options
author | Dave Airlie <airlied@starflyer.(none)> | 2005-07-07 06:16:08 -0400 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2005-07-07 06:16:08 -0400 |
commit | 0c7b525c344bc29a760c37053f8d5c80292ee1be (patch) | |
tree | 9003290ac74732297b0866f89d691f732430c107 /drivers/char/drm | |
parent | c101f3136cc98a003d0d16be6fab7d0d950581a6 (diff) |
drm: fix minor issues caused by core conversion
The conversion to core/driver got this check in-correct.
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm')
-rw-r--r-- | drivers/char/drm/drm_fops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/drm/drm_fops.c b/drivers/char/drm/drm_fops.c index 906794247aeb..7f9b00c6d244 100644 --- a/drivers/char/drm/drm_fops.c +++ b/drivers/char/drm/drm_fops.c | |||
@@ -251,7 +251,7 @@ int drm_release( struct inode *inode, struct file *filp ) | |||
251 | } | 251 | } |
252 | } | 252 | } |
253 | 253 | ||
254 | if (drm_core_check_feature(dev, DRIVER_HAVE_DMA)) | 254 | if (drm_core_check_feature(dev, DRIVER_HAVE_DMA) && !dev->driver->release) |
255 | { | 255 | { |
256 | dev->driver->reclaim_buffers(dev, filp); | 256 | dev->driver->reclaim_buffers(dev, filp); |
257 | } | 257 | } |