projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
739cf3a
)
gpu: struct device - replace bus_id with dev_name(), dev_set_name()
author
Kay Sievers
<kay.sievers@vrfy.org>
Tue, 6 Jan 2009 18:44:41 +0000
(10:44 -0800)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 6 Jan 2009 18:44:41 +0000
(10:44 -0800)
CC: Dave Airlie <airlied@redhat.com>
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/gpu/drm/drm_sysfs.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/drm_sysfs.c
b/drivers/gpu/drm/drm_sysfs.c
index
65d72d0
..
5aa6780
100644
(file)
--- a/
drivers/gpu/drm/drm_sysfs.c
+++ b/
drivers/gpu/drm/drm_sysfs.c
@@
-488,7
+488,7
@@
int drm_sysfs_device_add(struct drm_minor *minor)
else
minor_str = "card%d";
-
snprintf(minor->kdev.bus_id, BUS_ID_SIZE
, minor_str, minor->index);
+
dev_set_name(&minor->kdev
, minor_str, minor->index);
err = device_register(&minor->kdev);
if (err) {