summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Toth <stoth@kernellabs.com>2009-08-08 10:13:51 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-09-19 00:15:04 -0300
commit2ceae8fdfa55475ef8d7cb9bcaf3fd242ea1edcc (patch)
tree19c5c4248327dbb35d3c3e63796b90e5896c94aa
parentdd1ee4442d14f90d4da6b8a2ee37ab922100f250 (diff)
V4L/DVB (12937): SAA7164: Cleanup a printk
Cleanup a printk and output two helpful driver params in debug mode. Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/video/saa7164/saa7164-core.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/video/saa7164/saa7164-core.c b/drivers/media/video/saa7164/saa7164-core.c
index 8f68a5d6533..06dab7cbcaa 100644
--- a/drivers/media/video/saa7164/saa7164-core.c
+++ b/drivers/media/video/saa7164/saa7164-core.c
@@ -666,7 +666,9 @@ static int __devinit saa7164_initdev(struct pci_dev *pci_dev,
printk(KERN_ERR "%s() Unsupported board detected, "
"registering without firmware\n", __func__);
- printk(KERN_INFO "%s() waitsecs = %d\n", __func__, waitsecs);
+ dprintk(1, "%s() parameter debug = %d\n", __func__, debug);
+ dprintk(1, "%s() parameter waitsecs = %d\n", __func__, waitsecs);
+
fail_fw:
return 0;