From c3e2685e822f70976fa57db2955cdd98dc5730f4 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Thu, 8 Apr 2004 12:25:31 +0000 Subject: long dev_t patches from 2.6 tree --- linux-core/drm_proc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'linux-core/drm_proc.c') diff --git a/linux-core/drm_proc.c b/linux-core/drm_proc.c index 3d2c96b4..dc6e1bb2 100644 --- a/linux-core/drm_proc.c +++ b/linux-core/drm_proc.c @@ -185,9 +185,9 @@ static int DRM(name_info)(char *buf, char **start, off_t offset, int request, if (dev->unique) { DRM_PROC_PRINT("%s 0x%lx %s\n", - dev->name, (long)dev->device, dev->unique); + dev->name, (long)old_encode_dev(dev->device), dev->unique); } else { - DRM_PROC_PRINT("%s 0x%lx\n", dev->name, (long)dev->device); + DRM_PROC_PRINT("%s 0x%lx\n", dev->name, (long)old_encode_dev(dev->device)); } if (len > request + offset) return request; -- cgit v1.2.3