Commit 7def4dc4 authored by Michael Hunold's avatar Michael Hunold Committed by Linus Torvalds

[PATCH] Hexium saa7146 driver update

[V4L] - set debug verbosity to 0 for both Hexium drivers
[V4L] - declare all local functions and variables static
parent 34861cdd
...@@ -25,12 +25,12 @@ ...@@ -25,12 +25,12 @@
#include <media/saa7146_vv.h> #include <media/saa7146_vv.h>
static int debug = 255; static int debug = 0;
MODULE_PARM(debug, "i"); MODULE_PARM(debug, "i");
MODULE_PARM_DESC(debug, "debug verbosity"); MODULE_PARM_DESC(debug, "debug verbosity");
/* global variables */ /* global variables */
int hexium_num = 0; static int hexium_num = 0;
#include "hexium_gemini.h" #include "hexium_gemini.h"
...@@ -388,7 +388,7 @@ static struct saa7146_extension hexium_extension = { ...@@ -388,7 +388,7 @@ static struct saa7146_extension hexium_extension = {
.irq_func = NULL, .irq_func = NULL,
}; };
int __init hexium_init_module(void) static int __init hexium_init_module(void)
{ {
if (0 != saa7146_register_extension(&hexium_extension)) { if (0 != saa7146_register_extension(&hexium_extension)) {
DEB_S(("failed to register extension.\n")); DEB_S(("failed to register extension.\n"));
...@@ -398,7 +398,7 @@ int __init hexium_init_module(void) ...@@ -398,7 +398,7 @@ int __init hexium_init_module(void)
return 0; return 0;
} }
void __exit hexium_cleanup_module(void) static void __exit hexium_cleanup_module(void)
{ {
saa7146_unregister_extension(&hexium_extension); saa7146_unregister_extension(&hexium_extension);
} }
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#include <media/saa7146_vv.h> #include <media/saa7146_vv.h>
static int debug = 255; static int debug = 0;
MODULE_PARM(debug, "i"); MODULE_PARM(debug, "i");
MODULE_PARM_DESC(debug, "debug verbosity"); MODULE_PARM_DESC(debug, "debug verbosity");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment