aboutsummaryrefslogtreecommitdiff
path: root/linux-core/drm_proc.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-01-04 16:12:24 +1100
committerDave Airlie <airlied@redhat.com>2008-01-04 16:12:24 +1100
commit10937cf20b6814e4cf68114fab4619fad94eafcb (patch)
tree05bb4c7e91c63d5f25eb7efa6ac67134027e5cf8 /linux-core/drm_proc.c
parent219ba5cd9aff2dc79e414bbe2e9f90406f7543df (diff)
drm: move drm_head to drm_minor and fix up users
Diffstat (limited to 'linux-core/drm_proc.c')
-rw-r--r--linux-core/drm_proc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-core/drm_proc.c b/linux-core/drm_proc.c
index 3012c5b0..8f26726c 100644
--- a/linux-core/drm_proc.c
+++ b/linux-core/drm_proc.c
@@ -90,7 +90,7 @@ static struct drm_proc_list {
* "/proc/dri/%minor%/", and each entry in proc_list as
* "/proc/dri/%minor%/%name%".
*/
-int drm_proc_init(struct drm_device * dev, int minor,
+int drm_proc_init(struct drm_device *dev, int minor,
struct proc_dir_entry *root, struct proc_dir_entry **dev_root)
{
struct proc_dir_entry *ent;
@@ -535,7 +535,7 @@ static int drm__clients_info(char *buf, char **start, off_t offset,
list_for_each_entry(priv, &dev->filelist, lhead) {
DRM_PROC_PRINT("%c %3d %5d %5d %10u %10lu\n",
priv->authenticated ? 'y' : 'n',
- priv->minor,
+ priv->minor->minor,
priv->pid,
priv->uid, priv->magic, priv->ioctl_count);
}