diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2009-01-06 21:44:41 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-06 21:44:41 +0300 |
commit | 8f4bbd9f59a6ec0d96ae374ea2a46bfa90cc26e4 (patch) | |
tree | 0084c2c8a50a4b7cfeb136417c36a36a350dc1bc /drivers/gpu | |
parent | 739cf3a2691951a2d68baa275201a7e931fd50e9 (diff) | |
download | linux-8f4bbd9f59a6ec0d96ae374ea2a46bfa90cc26e4.tar.xz |
gpu: struct device - replace bus_id with dev_name(), dev_set_name()
CC: Dave Airlie <airlied@redhat.com>
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/drm_sysfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_sysfs.c b/drivers/gpu/drm/drm_sysfs.c index 65d72d094c81..5aa6780652aa 100644 --- 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) { |