diff options
| author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-01-05 02:34:20 -0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-01-05 02:34:20 -0200 |
| commit | db78ef299ad36a51105214ee94f4d2671ae44ef5 (patch) | |
| tree | ebf7d8cf8d9a5a8664045b026a177ea3193cbbcf /linux/drivers/media/video | |
| parent | 948232a2c38db8bd36de6fa69ec50f23fb50bcd9 (diff) | |
| download | mediapointer-dvb-s2-db78ef299ad36a51105214ee94f4d2671ae44ef5.tar.gz mediapointer-dvb-s2-db78ef299ad36a51105214ee94f4d2671ae44ef5.tar.bz2 | |
drivers/media: Fix a number of sparse warnings
From: Mauro Carvalho Chehab <mchehab@redhat.com>
anysee.c:44:5: warning: symbol 'dvb_usb_anysee_delsys' was not declared. Should it be static?
cx24116.c:378:3: warning: symbol 'CX24116_MODFEC_MODES' was not declared. Should it be static?
stb0899_algo.c:57:5: warning: symbol 'stb0899_get_srate' was not declared. Should it be static?
stb0899_algo.c:766:6: warning: symbol 'Log2Int' was not declared. Should it be static?
stb0899_drv.c:137:20: warning: symbol 'stb0899_quant_tab' was not declared. Should it be static?
stb0899_drv.c:180:20: warning: symbol 'stb0899_est_tab' was not declared. Should it be static?
stb0899_drv.c:220:5: warning: symbol '_stb0899_read_reg' was not declared. Should it be static?
budget-ci.c:1348:23: warning: symbol 'tt3200_stb6100_config' was not declared. Should it be static?
/home/v4l/master/v4l/cx25840-core.c:190:6: warning: symbol 'cx25840_work_handler' was not declared. Should it be static?
/home/v4l/master/v4l/m5602_s5k83a.c:116:6: warning: symbol 's5k83a_dump_registers' was not declared. Should it be static?
Priority: normal
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/video')
| -rw-r--r-- | linux/drivers/media/video/cx25840/cx25840-core.c | 4 | ||||
| -rw-r--r-- | linux/drivers/media/video/gspca/m5602/m5602_s5k83a.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/linux/drivers/media/video/cx25840/cx25840-core.c b/linux/drivers/media/video/cx25840/cx25840-core.c index 9bac0e67a..4e0a1e88f 100644 --- a/linux/drivers/media/video/cx25840/cx25840-core.c +++ b/linux/drivers/media/video/cx25840/cx25840-core.c @@ -183,11 +183,11 @@ static void cx25836_initialize(struct i2c_client *client) } #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 20) -static void cx25840_work_handler(struct work_struct *work) +static static void cx25840_work_handler(struct work_struct *work) { struct cx25840_state *state = container_of(work, struct cx25840_state, fw_work); #else -void cx25840_work_handler(void *arg) +static void cx25840_work_handler(void *arg) { struct cx25840_state *state = arg; #endif diff --git a/linux/drivers/media/video/gspca/m5602/m5602_s5k83a.c b/linux/drivers/media/video/gspca/m5602/m5602_s5k83a.c index af3f2dc2c..ccea4a758 100644 --- a/linux/drivers/media/video/gspca/m5602/m5602_s5k83a.c +++ b/linux/drivers/media/video/gspca/m5602/m5602_s5k83a.c @@ -113,7 +113,7 @@ int s5k83a_power_down(struct sd *sd) return 0; } -void s5k83a_dump_registers(struct sd *sd) +static void s5k83a_dump_registers(struct sd *sd) { int address; u8 page, old_page; |
