summaryrefslogtreecommitdiff
path: root/linux-core/drm_proc.c
diff options
context:
space:
mode:
authorJon Smirl <jonsmirl@yahoo.com>2004-10-12 03:59:17 +0000
committerJon Smirl <jonsmirl@yahoo.com>2004-10-12 03:59:17 +0000
commitad70dc676ebf8f2f86d171dccb873a04a3e5b87b (patch)
tree1ee7e58021f8348bff535b1301c3c50d99572f48 /linux-core/drm_proc.c
parentad549c5ae62fd75aa2bdb8bf5efc4913c476cb02 (diff)
Breakout heads into their own data structures.
Diffstat (limited to 'linux-core/drm_proc.c')
-rw-r--r--linux-core/drm_proc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/linux-core/drm_proc.c b/linux-core/drm_proc.c
index 0684da16..297d5d43 100644
--- a/linux-core/drm_proc.c
+++ b/linux-core/drm_proc.c
@@ -174,12 +174,12 @@ static int drm_name_info(char *buf, char **start, off_t offset, int request,
*eof = 0;
if (dev->unique) {
- DRM_PROC_PRINT("%s 0x%lx %s\n",
- dev->pdev->driver->name, (long)old_encode_dev(dev->device),
+ DRM_PROC_PRINT("%s %s %s\n",
+ dev->pdev->driver->name, pci_name(dev->pdev),
dev->unique);
} else {
- DRM_PROC_PRINT("%s 0x%lx\n", dev->pdev->driver->name,
- (long)old_encode_dev(dev->device));
+ DRM_PROC_PRINT("%s %s\n", dev->pdev->driver->name,
+ pci_name(dev->pdev));
}
if (len > request + offset)