Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 318670
b: refs/heads/master
c: 49099c4
h: refs/heads/master
v: v3
  • Loading branch information
Dave Airlie committed Jul 15, 2012
1 parent c935a51 commit 2990782
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 12f0e670ff2ae5a59984ffae036ddd739cf10b09
refs/heads/master: 49099c4991da3c94773f888aea2e9d27b8a7c6d1
4 changes: 4 additions & 0 deletions trunk/drivers/gpu/drm/drm_sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ void drm_sysfs_destroy(void)
return;
class_remove_file(drm_class, &class_attr_version.attr);
class_destroy(drm_class);
drm_class = NULL;
}

/**
Expand Down Expand Up @@ -554,6 +555,9 @@ void drm_sysfs_device_remove(struct drm_minor *minor)

int drm_class_device_register(struct device *dev)
{
if (!drm_class || IS_ERR(drm_class))
return -ENOENT;

dev->class = drm_class;
return device_register(dev);
}
Expand Down

0 comments on commit 2990782

Please sign in to comment.