Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 123450
b: refs/heads/master
c: f51c5b6
h: refs/heads/master
v: v3
  • Loading branch information
Eric Anholt authored and Dave Airlie committed Dec 29, 2008
1 parent 19947f8 commit 204abb2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f1acec933848219c402c165686677b1c307407f8
refs/heads/master: f51c5b6e623cc737d47f513cbb893cec914f0bd2
4 changes: 1 addition & 3 deletions trunk/drivers/gpu/drm/drm_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,6 @@ EXPORT_SYMBOL(drm_init);
*/
static void drm_cleanup(struct drm_device * dev)
{
struct drm_driver *driver = dev->driver;

DRM_DEBUG("\n");

if (!dev) {
Expand Down Expand Up @@ -330,7 +328,7 @@ static void drm_cleanup(struct drm_device * dev)
if (drm_core_check_feature(dev, DRIVER_MODESET))
drm_put_minor(&dev->control);

if (driver->driver_features & DRIVER_GEM)
if (dev->driver->driver_features & DRIVER_GEM)
drm_gem_destroy(dev);

drm_put_minor(&dev->primary);
Expand Down

0 comments on commit 204abb2

Please sign in to comment.