Commit 943a4902 authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds

[PATCH] V4L: Makes needlessly global code static

This patch makes needlessly global code static.
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@brturbo.com.br>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 769e2438
......@@ -2904,7 +2904,7 @@ void __devinit bttv_idcard(struct bttv *btv)
*/
/* Some Modular Technology cards have an eeprom, but no subsystem ID */
void identify_by_eeprom(struct bttv *btv, unsigned char eeprom_data[256])
static void identify_by_eeprom(struct bttv *btv, unsigned char eeprom_data[256])
{
int type = -1;
......@@ -3879,7 +3879,7 @@ static void __devinit init_PXC200(struct bttv *btv)
* error. ERROR_CPLD_Check_Failed.
*/
/* ----------------------------------------------------------------------- */
void
static void
init_RTV24 (struct bttv *btv)
{
uint32_t dataRead = 0;
......@@ -4103,7 +4103,7 @@ void tea5757_set_freq(struct bttv *btv, unsigned short freq)
/* ----------------------------------------------------------------------- */
/* winview */
void winview_audio(struct bttv *btv, struct video_audio *v, int set)
static void winview_audio(struct bttv *btv, struct video_audio *v, int set)
{
/* PT2254A programming Jon Tombs, jon@gte.esi.us.es */
int bits_out, loops, vol, data;
......
......@@ -32,7 +32,7 @@
/* #define ENABLE_DEBUG_ISOC_FRAMES */
unsigned int core_debug;
static unsigned int core_debug;
module_param(core_debug,int,0644);
MODULE_PARM_DESC(core_debug,"enable debug messages [core]");
......@@ -41,7 +41,7 @@ MODULE_PARM_DESC(core_debug,"enable debug messages [core]");
printk(KERN_INFO "%s %s :"fmt, \
dev->name, __FUNCTION__ , ##arg); } while (0)
unsigned int reg_debug;
static unsigned int reg_debug;
module_param(reg_debug,int,0644);
MODULE_PARM_DESC(reg_debug,"enable debug messages [URB reg]");
......@@ -50,7 +50,7 @@ MODULE_PARM_DESC(reg_debug,"enable debug messages [URB reg]");
printk(KERN_INFO "%s %s :"fmt, \
dev->name, __FUNCTION__ , ##arg); } while (0)
unsigned int isoc_debug;
static unsigned int isoc_debug;
module_param(isoc_debug,int,0644);
MODULE_PARM_DESC(isoc_debug,"enable debug messages [isoc transfers]");
......
......@@ -226,7 +226,7 @@ static int em28xx_config(struct em28xx *dev)
* em28xx_config_i2c()
* configure i2c attached devices
*/
void em28xx_config_i2c(struct em28xx *dev)
static void em28xx_config_i2c(struct em28xx *dev)
{
struct v4l2_frequency f;
struct video_decoder_init em28xx_vdi = {.data = NULL };
......
......@@ -138,7 +138,8 @@ static void saa7134_dma_start(struct saa7134_dev *dev)
*
*/
void saa7134_irq_alsa_done(struct saa7134_dev *dev, unsigned long status)
static void saa7134_irq_alsa_done(struct saa7134_dev *dev,
unsigned long status)
{
int next_blk, reg = 0;
......@@ -879,7 +880,7 @@ static void snd_saa7134_free(snd_card_t * card)
*
*/
int alsa_card_saa7134_create(struct saa7134_dev *dev, int devnum)
static int alsa_card_saa7134_create(struct saa7134_dev *dev, int devnum)
{
snd_card_t *card;
......@@ -1009,7 +1010,7 @@ static int saa7134_alsa_init(void)
* Module destructor
*/
void saa7134_alsa_exit(void)
static void saa7134_alsa_exit(void)
{
int idx;
......
......@@ -899,7 +899,7 @@ void saa7134_irq_oss_done(struct saa7134_dev *dev, unsigned long status)
spin_unlock(&dev->slock);
}
int saa7134_dsp_create(struct saa7134_dev *dev)
static int saa7134_dsp_create(struct saa7134_dev *dev)
{
int err;
......@@ -981,7 +981,7 @@ static int saa7134_oss_init(void)
}
void saa7134_oss_exit(void)
static void saa7134_oss_exit(void)
{
struct saa7134_dev *dev = NULL;
struct list_head *list;
......
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