diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-09-24 13:06:25 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-09-26 05:47:54 -0400 |
commit | 5a9ff85dc176e80c6fb7067dcb807c5e3ff7a913 (patch) | |
tree | c4cb086317e83dfd705aa0a0afea5c36093e06fa /drivers/media/pci/saa7164 | |
parent | 87f4ebcd0693f6de14f60cf7bf9821a005b5850f (diff) |
[media] saa7164-core: declare symbols as static
Those symbols are used only at saa7164-core.
drivers/media/pci/saa7164/saa7164-core.c:55:14: warning: symbol 'fw_debug' was not declared. Should it be static?
drivers/media/pci/saa7164/saa7164-core.c:75:14: warning: symbol 'print_histogram' was not declared. Should it be static?
drivers/media/pci/saa7164/saa7164-core.c:83:14: warning: symbol 'guard_checking' was not declared. Should it be static?
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/pci/saa7164')
-rw-r--r-- | drivers/media/pci/saa7164/saa7164-core.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/pci/saa7164/saa7164-core.c b/drivers/media/pci/saa7164/saa7164-core.c index 1bf06970ca3e..cc1be8a7a451 100644 --- a/drivers/media/pci/saa7164/saa7164-core.c +++ b/drivers/media/pci/saa7164/saa7164-core.c | |||
@@ -52,7 +52,7 @@ unsigned int saa_debug; | |||
52 | module_param_named(debug, saa_debug, int, 0644); | 52 | module_param_named(debug, saa_debug, int, 0644); |
53 | MODULE_PARM_DESC(debug, "enable debug messages"); | 53 | MODULE_PARM_DESC(debug, "enable debug messages"); |
54 | 54 | ||
55 | unsigned int fw_debug; | 55 | static unsigned int fw_debug; |
56 | module_param(fw_debug, int, 0644); | 56 | module_param(fw_debug, int, 0644); |
57 | MODULE_PARM_DESC(fw_debug, "Firmware debug level def:2"); | 57 | MODULE_PARM_DESC(fw_debug, "Firmware debug level def:2"); |
58 | 58 | ||
@@ -72,7 +72,7 @@ static unsigned int card[] = {[0 ... (SAA7164_MAXBOARDS - 1)] = UNSET }; | |||
72 | module_param_array(card, int, NULL, 0444); | 72 | module_param_array(card, int, NULL, 0444); |
73 | MODULE_PARM_DESC(card, "card type"); | 73 | MODULE_PARM_DESC(card, "card type"); |
74 | 74 | ||
75 | unsigned int print_histogram = 64; | 75 | static unsigned int print_histogram = 64; |
76 | module_param(print_histogram, int, 0644); | 76 | module_param(print_histogram, int, 0644); |
77 | MODULE_PARM_DESC(print_histogram, "print histogram values once"); | 77 | MODULE_PARM_DESC(print_histogram, "print histogram values once"); |
78 | 78 | ||
@@ -80,7 +80,7 @@ unsigned int crc_checking = 1; | |||
80 | module_param(crc_checking, int, 0644); | 80 | module_param(crc_checking, int, 0644); |
81 | MODULE_PARM_DESC(crc_checking, "enable crc sanity checking on buffers"); | 81 | MODULE_PARM_DESC(crc_checking, "enable crc sanity checking on buffers"); |
82 | 82 | ||
83 | unsigned int guard_checking = 1; | 83 | static unsigned int guard_checking = 1; |
84 | module_param(guard_checking, int, 0644); | 84 | module_param(guard_checking, int, 0644); |
85 | MODULE_PARM_DESC(guard_checking, | 85 | MODULE_PARM_DESC(guard_checking, |
86 | "enable dma sanity checking for buffer overruns"); | 86 | "enable dma sanity checking for buffer overruns"); |