diff options
author | Márton Németh <nm127@freemail.hu> | 2010-01-29 15:30:53 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-02-26 13:10:52 -0500 |
commit | b38aa09df33d931defe4958582e826db59a9731c (patch) | |
tree | d8064154069bc410b679f0deb8f500efffa7ddb2 | |
parent | ee4b9dbb83c73c5408d7f479a501551a63ec57d3 (diff) |
V4L/DVB: hdpvr-core: make module parameters local
The default_video_input and default_audio_input module parameters are
only used inside the hdpvr-core.c file so make them static.
This will remove the following sparse warnings (see "make C=1"):
* warning: symbol 'default_video_input' was not declared. Should it be static?
* warning: symbol 'default_audio_input' was not declared. Should it be static?
Signed-off-by: Márton Németh <nm127@freemail.hu>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | drivers/media/video/hdpvr/hdpvr-core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/hdpvr/hdpvr-core.c b/drivers/media/video/hdpvr/hdpvr-core.c index 51f393d03a46..3a66d662bb1f 100644 --- a/drivers/media/video/hdpvr/hdpvr-core.c +++ b/drivers/media/video/hdpvr/hdpvr-core.c | |||
@@ -39,12 +39,12 @@ int hdpvr_debug; | |||
39 | module_param(hdpvr_debug, int, S_IRUGO|S_IWUSR); | 39 | module_param(hdpvr_debug, int, S_IRUGO|S_IWUSR); |
40 | MODULE_PARM_DESC(hdpvr_debug, "enable debugging output"); | 40 | MODULE_PARM_DESC(hdpvr_debug, "enable debugging output"); |
41 | 41 | ||
42 | uint default_video_input = HDPVR_VIDEO_INPUTS; | 42 | static uint default_video_input = HDPVR_VIDEO_INPUTS; |
43 | module_param(default_video_input, uint, S_IRUGO|S_IWUSR); | 43 | module_param(default_video_input, uint, S_IRUGO|S_IWUSR); |
44 | MODULE_PARM_DESC(default_video_input, "default video input: 0=Component / " | 44 | MODULE_PARM_DESC(default_video_input, "default video input: 0=Component / " |
45 | "1=S-Video / 2=Composite"); | 45 | "1=S-Video / 2=Composite"); |
46 | 46 | ||
47 | uint default_audio_input = HDPVR_AUDIO_INPUTS; | 47 | static uint default_audio_input = HDPVR_AUDIO_INPUTS; |
48 | module_param(default_audio_input, uint, S_IRUGO|S_IWUSR); | 48 | module_param(default_audio_input, uint, S_IRUGO|S_IWUSR); |
49 | MODULE_PARM_DESC(default_audio_input, "default audio input: 0=RCA back / " | 49 | MODULE_PARM_DESC(default_audio_input, "default audio input: 0=RCA back / " |
50 | "1=RCA front / 2=S/PDIF"); | 50 | "1=RCA front / 2=S/PDIF"); |