summaryrefslogtreecommitdiff
path: root/linux/drivers/media/common/saa7146_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/common/saa7146_core.c')
-rw-r--r--linux/drivers/media/common/saa7146_core.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/linux/drivers/media/common/saa7146_core.c b/linux/drivers/media/common/saa7146_core.c
index a99992429..e81b7340e 100644
--- a/linux/drivers/media/common/saa7146_core.c
+++ b/linux/drivers/media/common/saa7146_core.c
@@ -31,14 +31,12 @@ static struct list_head devices;
static struct semaphore devices_lock;
static struct list_head extensions;
static int initialized = 0;
-
static int saa7146_num = 0;
-static int debug = 0;
-#ifdef MODULE
-MODULE_PARM(debug,"i");
-MODULE_PARM_DESC(debug, "debug level (default: 0)");
-#endif
+unsigned int saa7146_debug = 247;
+
+MODULE_PARM(saa7146_debug,"i");
+MODULE_PARM_DESC(saa7146_debug, "debug level (default: 0)");
static void dump_registers(struct saa7146_dev* dev)
{
@@ -947,7 +945,7 @@ struct pci_driver saa7146_driver = {
static
int __init saa7146_init_module(void)
{
- DEB_EE(("."));
+ DEB_EE((".\n"));
if( 0 == initialized ) {
INIT_LIST_HEAD(&devices);
@@ -963,7 +961,7 @@ int __init saa7146_init_module(void)
static
void __exit saa7146_cleanup_module(void)
{
- DEB_EE(("."));
+ DEB_EE((".\n"));
pci_unregister_driver(&saa7146_driver);
}