diff options
Diffstat (limited to 'drivers/media/video')
-rw-r--r-- | drivers/media/video/bttv-cards.c | 6 | ||||
-rw-r--r-- | drivers/media/video/em28xx/em28xx-core.c | 6 | ||||
-rw-r--r-- | drivers/media/video/em28xx/em28xx-video.c | 2 | ||||
-rw-r--r-- | drivers/media/video/saa7134/saa7134-alsa.c | 7 | ||||
-rw-r--r-- | drivers/media/video/saa7134/saa7134-oss.c | 4 |
5 files changed, 13 insertions, 12 deletions
diff --git a/drivers/media/video/bttv-cards.c b/drivers/media/video/bttv-cards.c index e31ebb11c468..012be639aa18 100644 --- a/drivers/media/video/bttv-cards.c +++ b/drivers/media/video/bttv-cards.c | |||
@@ -2904,7 +2904,7 @@ void __devinit bttv_idcard(struct bttv *btv) | |||
2904 | */ | 2904 | */ |
2905 | 2905 | ||
2906 | /* Some Modular Technology cards have an eeprom, but no subsystem ID */ | 2906 | /* Some Modular Technology cards have an eeprom, but no subsystem ID */ |
2907 | void identify_by_eeprom(struct bttv *btv, unsigned char eeprom_data[256]) | 2907 | static void identify_by_eeprom(struct bttv *btv, unsigned char eeprom_data[256]) |
2908 | { | 2908 | { |
2909 | int type = -1; | 2909 | int type = -1; |
2910 | 2910 | ||
@@ -3879,7 +3879,7 @@ static void __devinit init_PXC200(struct bttv *btv) | |||
3879 | * error. ERROR_CPLD_Check_Failed. | 3879 | * error. ERROR_CPLD_Check_Failed. |
3880 | */ | 3880 | */ |
3881 | /* ----------------------------------------------------------------------- */ | 3881 | /* ----------------------------------------------------------------------- */ |
3882 | void | 3882 | static void |
3883 | init_RTV24 (struct bttv *btv) | 3883 | init_RTV24 (struct bttv *btv) |
3884 | { | 3884 | { |
3885 | uint32_t dataRead = 0; | 3885 | uint32_t dataRead = 0; |
@@ -4103,7 +4103,7 @@ void tea5757_set_freq(struct bttv *btv, unsigned short freq) | |||
4103 | /* ----------------------------------------------------------------------- */ | 4103 | /* ----------------------------------------------------------------------- */ |
4104 | /* winview */ | 4104 | /* winview */ |
4105 | 4105 | ||
4106 | void winview_audio(struct bttv *btv, struct video_audio *v, int set) | 4106 | static void winview_audio(struct bttv *btv, struct video_audio *v, int set) |
4107 | { | 4107 | { |
4108 | /* PT2254A programming Jon Tombs, jon@gte.esi.us.es */ | 4108 | /* PT2254A programming Jon Tombs, jon@gte.esi.us.es */ |
4109 | int bits_out, loops, vol, data; | 4109 | int bits_out, loops, vol, data; |
diff --git a/drivers/media/video/em28xx/em28xx-core.c b/drivers/media/video/em28xx/em28xx-core.c index d54bc0127484..9f6e5e5355a1 100644 --- a/drivers/media/video/em28xx/em28xx-core.c +++ b/drivers/media/video/em28xx/em28xx-core.c | |||
@@ -32,7 +32,7 @@ | |||
32 | 32 | ||
33 | /* #define ENABLE_DEBUG_ISOC_FRAMES */ | 33 | /* #define ENABLE_DEBUG_ISOC_FRAMES */ |
34 | 34 | ||
35 | unsigned int core_debug; | 35 | static unsigned int core_debug; |
36 | module_param(core_debug,int,0644); | 36 | module_param(core_debug,int,0644); |
37 | MODULE_PARM_DESC(core_debug,"enable debug messages [core]"); | 37 | MODULE_PARM_DESC(core_debug,"enable debug messages [core]"); |
38 | 38 | ||
@@ -41,7 +41,7 @@ MODULE_PARM_DESC(core_debug,"enable debug messages [core]"); | |||
41 | printk(KERN_INFO "%s %s :"fmt, \ | 41 | printk(KERN_INFO "%s %s :"fmt, \ |
42 | dev->name, __FUNCTION__ , ##arg); } while (0) | 42 | dev->name, __FUNCTION__ , ##arg); } while (0) |
43 | 43 | ||
44 | unsigned int reg_debug; | 44 | static unsigned int reg_debug; |
45 | module_param(reg_debug,int,0644); | 45 | module_param(reg_debug,int,0644); |
46 | MODULE_PARM_DESC(reg_debug,"enable debug messages [URB reg]"); | 46 | MODULE_PARM_DESC(reg_debug,"enable debug messages [URB reg]"); |
47 | 47 | ||
@@ -50,7 +50,7 @@ MODULE_PARM_DESC(reg_debug,"enable debug messages [URB reg]"); | |||
50 | printk(KERN_INFO "%s %s :"fmt, \ | 50 | printk(KERN_INFO "%s %s :"fmt, \ |
51 | dev->name, __FUNCTION__ , ##arg); } while (0) | 51 | dev->name, __FUNCTION__ , ##arg); } while (0) |
52 | 52 | ||
53 | unsigned int isoc_debug; | 53 | static unsigned int isoc_debug; |
54 | module_param(isoc_debug,int,0644); | 54 | module_param(isoc_debug,int,0644); |
55 | MODULE_PARM_DESC(isoc_debug,"enable debug messages [isoc transfers]"); | 55 | MODULE_PARM_DESC(isoc_debug,"enable debug messages [isoc transfers]"); |
56 | 56 | ||
diff --git a/drivers/media/video/em28xx/em28xx-video.c b/drivers/media/video/em28xx/em28xx-video.c index 57c1826b928e..abec32c175aa 100644 --- a/drivers/media/video/em28xx/em28xx-video.c +++ b/drivers/media/video/em28xx/em28xx-video.c | |||
@@ -226,7 +226,7 @@ static int em28xx_config(struct em28xx *dev) | |||
226 | * em28xx_config_i2c() | 226 | * em28xx_config_i2c() |
227 | * configure i2c attached devices | 227 | * configure i2c attached devices |
228 | */ | 228 | */ |
229 | void em28xx_config_i2c(struct em28xx *dev) | 229 | static void em28xx_config_i2c(struct em28xx *dev) |
230 | { | 230 | { |
231 | struct v4l2_frequency f; | 231 | struct v4l2_frequency f; |
232 | struct video_decoder_init em28xx_vdi = {.data = NULL }; | 232 | struct video_decoder_init em28xx_vdi = {.data = NULL }; |
diff --git a/drivers/media/video/saa7134/saa7134-alsa.c b/drivers/media/video/saa7134/saa7134-alsa.c index 32a1f3ec4410..263c6e2e3e8e 100644 --- a/drivers/media/video/saa7134/saa7134-alsa.c +++ b/drivers/media/video/saa7134/saa7134-alsa.c | |||
@@ -138,7 +138,8 @@ static void saa7134_dma_start(struct saa7134_dev *dev) | |||
138 | * | 138 | * |
139 | */ | 139 | */ |
140 | 140 | ||
141 | void saa7134_irq_alsa_done(struct saa7134_dev *dev, unsigned long status) | 141 | static void saa7134_irq_alsa_done(struct saa7134_dev *dev, |
142 | unsigned long status) | ||
142 | { | 143 | { |
143 | int next_blk, reg = 0; | 144 | int next_blk, reg = 0; |
144 | 145 | ||
@@ -879,7 +880,7 @@ static void snd_saa7134_free(snd_card_t * card) | |||
879 | * | 880 | * |
880 | */ | 881 | */ |
881 | 882 | ||
882 | int alsa_card_saa7134_create(struct saa7134_dev *dev, int devnum) | 883 | static int alsa_card_saa7134_create(struct saa7134_dev *dev, int devnum) |
883 | { | 884 | { |
884 | 885 | ||
885 | snd_card_t *card; | 886 | snd_card_t *card; |
@@ -1009,7 +1010,7 @@ static int saa7134_alsa_init(void) | |||
1009 | * Module destructor | 1010 | * Module destructor |
1010 | */ | 1011 | */ |
1011 | 1012 | ||
1012 | void saa7134_alsa_exit(void) | 1013 | static void saa7134_alsa_exit(void) |
1013 | { | 1014 | { |
1014 | int idx; | 1015 | int idx; |
1015 | 1016 | ||
diff --git a/drivers/media/video/saa7134/saa7134-oss.c b/drivers/media/video/saa7134/saa7134-oss.c index 299046974382..5a579194e455 100644 --- a/drivers/media/video/saa7134/saa7134-oss.c +++ b/drivers/media/video/saa7134/saa7134-oss.c | |||
@@ -899,7 +899,7 @@ void saa7134_irq_oss_done(struct saa7134_dev *dev, unsigned long status) | |||
899 | spin_unlock(&dev->slock); | 899 | spin_unlock(&dev->slock); |
900 | } | 900 | } |
901 | 901 | ||
902 | int saa7134_dsp_create(struct saa7134_dev *dev) | 902 | static int saa7134_dsp_create(struct saa7134_dev *dev) |
903 | { | 903 | { |
904 | int err; | 904 | int err; |
905 | 905 | ||
@@ -981,7 +981,7 @@ static int saa7134_oss_init(void) | |||
981 | 981 | ||
982 | } | 982 | } |
983 | 983 | ||
984 | void saa7134_oss_exit(void) | 984 | static void saa7134_oss_exit(void) |
985 | { | 985 | { |
986 | struct saa7134_dev *dev = NULL; | 986 | struct saa7134_dev *dev = NULL; |
987 | struct list_head *list; | 987 | struct list_head *list; |