summary refs log tree commit diff
path: root/drivers/media/pci/zoran
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2013-04-12 15:18:25 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2013-05-01 17:29:43 -0400
commit0c2f343825192044ffaf542854d478e00f7f0a59 (patch)
tree2dc2780a76c2343c96f580ac4f4c34b968409b5d /drivers/media/pci/zoran
parente42270a19e357d7808890bdbeb0cae97f2a2d234 (diff)
downloadlinux-0c2f343825192044ffaf542854d478e00f7f0a59.tar.gz
zoran: Don't print proc_dir_entry data in debug
Don't print proc_dir_entry data in debug as we're soon to have no direct
access to the contents of the PDE.  Print what was put in there instead.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: mjpeg-users@lists.sourceforge.net
cc: linux-media@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/media/pci/zoran')
-rw-r--r--drivers/media/pci/zoran/zoran_procfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/pci/zoran/zoran_procfs.c b/drivers/media/pci/zoran/zoran_procfs.c
index 07a104d2bd1d..f7ceee0cdefd 100644
--- a/drivers/media/pci/zoran/zoran_procfs.c
+++ b/drivers/media/pci/zoran/zoran_procfs.c
@@ -201,7 +201,7 @@ zoran_proc_init (struct zoran *zr)
 		dprintk(2,
 			KERN_INFO
 			"%s: procfs entry /proc/%s allocated. data=%p\n",
-			ZR_DEVNAME(zr), name, zr->zoran_proc->data);
+			ZR_DEVNAME(zr), name, zr);
 	} else {
 		dprintk(1, KERN_ERR "%s: Unable to initialise /proc/%s\n",
 			ZR_DEVNAME(zr), name);