diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-05-10 03:35:24 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-20 06:05:46 -0400 |
commit | e9b59f6e2f6686016dfea7625e98fbef1e335c61 (patch) | |
tree | 3c95ed76d448f05e61e64cc97cfd0d300749a183 /drivers/media/video/pvrusb2 | |
parent | 5ad6b816e2227a7daf9569f1dbb8d7af90b387b2 (diff) |
V4L/DVB (7882): pvrusb2: make code static
This patch makes the following needlessly global code static:
- pvrusb2-devattr.c: struct pvr2_onair_creator_fe_props
- pvrusb2-devattr.c: struct pvr2_onair_usb2_fe_props
- pvrusb2-devattr.c: struct pvr2_73xxx_dvb_props
- pvrusb2-devattr.c: struct pvr2_750xx_dvb_props
- pvrusb2-devattr.c: struct pvr2_751xx_dvb_props
- pvrusb2-hdw.c:pvr2_led_ctrl_hauppauge()
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/pvrusb2')
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-devattr.c | 10 | ||||
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-hdw.c | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-devattr.c b/drivers/media/video/pvrusb2/pvrusb2-devattr.c index 5bf6d8fda1f9..241c60cf40eb 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-devattr.c +++ b/drivers/media/video/pvrusb2/pvrusb2-devattr.c | |||
@@ -182,7 +182,7 @@ static int pvr2_lgh06xf_attach(struct pvr2_dvb_adapter *adap) | |||
182 | return 0; | 182 | return 0; |
183 | } | 183 | } |
184 | 184 | ||
185 | struct pvr2_dvb_props pvr2_onair_creator_fe_props = { | 185 | static struct pvr2_dvb_props pvr2_onair_creator_fe_props = { |
186 | .frontend_attach = pvr2_lgdt3303_attach, | 186 | .frontend_attach = pvr2_lgdt3303_attach, |
187 | .tuner_attach = pvr2_lgh06xf_attach, | 187 | .tuner_attach = pvr2_lgh06xf_attach, |
188 | }; | 188 | }; |
@@ -242,7 +242,7 @@ static int pvr2_fcv1236d_attach(struct pvr2_dvb_adapter *adap) | |||
242 | return 0; | 242 | return 0; |
243 | } | 243 | } |
244 | 244 | ||
245 | struct pvr2_dvb_props pvr2_onair_usb2_fe_props = { | 245 | static struct pvr2_dvb_props pvr2_onair_usb2_fe_props = { |
246 | .frontend_attach = pvr2_lgdt3302_attach, | 246 | .frontend_attach = pvr2_lgdt3302_attach, |
247 | .tuner_attach = pvr2_fcv1236d_attach, | 247 | .tuner_attach = pvr2_fcv1236d_attach, |
248 | }; | 248 | }; |
@@ -315,7 +315,7 @@ static int pvr2_73xxx_tda18271_8295_attach(struct pvr2_dvb_adapter *adap) | |||
315 | return 0; | 315 | return 0; |
316 | } | 316 | } |
317 | 317 | ||
318 | struct pvr2_dvb_props pvr2_73xxx_dvb_props = { | 318 | static struct pvr2_dvb_props pvr2_73xxx_dvb_props = { |
319 | .frontend_attach = pvr2_tda10048_attach, | 319 | .frontend_attach = pvr2_tda10048_attach, |
320 | .tuner_attach = pvr2_73xxx_tda18271_8295_attach, | 320 | .tuner_attach = pvr2_73xxx_tda18271_8295_attach, |
321 | }; | 321 | }; |
@@ -418,12 +418,12 @@ static int pvr2_tda18271_8295_attach(struct pvr2_dvb_adapter *adap) | |||
418 | return 0; | 418 | return 0; |
419 | } | 419 | } |
420 | 420 | ||
421 | struct pvr2_dvb_props pvr2_750xx_dvb_props = { | 421 | static struct pvr2_dvb_props pvr2_750xx_dvb_props = { |
422 | .frontend_attach = pvr2_s5h1409_attach, | 422 | .frontend_attach = pvr2_s5h1409_attach, |
423 | .tuner_attach = pvr2_tda18271_8295_attach, | 423 | .tuner_attach = pvr2_tda18271_8295_attach, |
424 | }; | 424 | }; |
425 | 425 | ||
426 | struct pvr2_dvb_props pvr2_751xx_dvb_props = { | 426 | static struct pvr2_dvb_props pvr2_751xx_dvb_props = { |
427 | .frontend_attach = pvr2_s5h1411_attach, | 427 | .frontend_attach = pvr2_s5h1411_attach, |
428 | .tuner_attach = pvr2_tda18271_8295_attach, | 428 | .tuner_attach = pvr2_tda18271_8295_attach, |
429 | }; | 429 | }; |
diff --git a/drivers/media/video/pvrusb2/pvrusb2-hdw.c b/drivers/media/video/pvrusb2/pvrusb2-hdw.c index 0a868888f389..37364b072e7b 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-hdw.c +++ b/drivers/media/video/pvrusb2/pvrusb2-hdw.c | |||
@@ -3421,7 +3421,7 @@ static void pvr2_hdw_cmd_modeswitch(struct pvr2_hdw *hdw,int digitalFl) | |||
3421 | } | 3421 | } |
3422 | 3422 | ||
3423 | 3423 | ||
3424 | void pvr2_led_ctrl_hauppauge(struct pvr2_hdw *hdw, int onoff) | 3424 | static void pvr2_led_ctrl_hauppauge(struct pvr2_hdw *hdw, int onoff) |
3425 | { | 3425 | { |
3426 | /* change some GPIO data | 3426 | /* change some GPIO data |
3427 | * | 3427 | * |