drivers/media/video/: make some code static
PATCH 1/1 drivers/media/video/: make some code static
This patch makes some needlessly global code static.
Signed-off-by Adrian Bunk <[email protected]>
---
drivers/media/video/cx25840/cx25840-core.c | 2 +- drivers/media/video/cx88/cx88-alsa.c | 6 +++--- drivers/media/video/tvp5150.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-)
drivers/media/video/cx25840/cx25840-core.c renamed from drivers/media/video/cx25840/cx25840-core.c.old +1 -1
@@ -43,7 +43,7 @@static unsigned short normal_i2c[] = {0x88 >>1 ,I2C_CLIENT_END }; -int cx25840_debug; +static int cx25840_debug;module_param_named (debug,cx25840_debug, int,0644 );
drivers/media/video/cx88/cx88-alsa.c renamed from drivers/media/video/cx88/cx88-alsa.c.old +3 -3
@@ -128,7 +128,7 @@* BOARD Specific: Sets audio DMA */ -int _cx88_start_audio_dma (snd_cx88_card_t *chip) +static int _cx88_start_audio_dma (snd_cx88_card_t *chip) {struct cx88_buffer *buf = chip->buf;struct cx88_core *core=chip->core;
@@ -173,7 +173,7 @@/* * BOARD Specific: Resets audio DMA */ -int _cx88_stop_audio_dma (snd_cx88_card_t *chip) +static int _cx88_stop_audio_dma (snd_cx88_card_t *chip) {struct cx88_core *core=chip->core;dprintk (1 ,"Stopping audio DMA\n" );
@@ -613,7 +613,7 @@* Only boards with eeprom and byte 1 at eeprom=1 have it */ -struct pci_device_id cx88_audio_pci_tbl[] = { +static struct pci_device_id cx88_audio_pci_tbl[] = { {0x14f1 ,0x8801 ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,0 }, {0x14f1 ,0x8811 ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,0 }, {0 , }
drivers/media/video/tvp5150.c renamed from drivers/media/video/tvp5150.c.old +1 -1
@@ -634,7 +634,7 @@unsigned char values[26 ]; }; -struct i2c_vbi_ram_value vbi_ram_default[] = +static struct i2c_vbi_ram_value vbi_ram_default[] = { {0x010 ,/* WST SECAM 6 */ {0xaa ,0xaa ,0xff ,0xff ,0xe7 ,0x2e ,0x20 ,0x26 ,0xe6 ,0xb4 ,0x0e ,0x0 ,0x0 ,0x0 ,0x10 ,0x0 }