diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2007-03-03 06:50:42 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-04-27 14:44:13 -0400 |
commit | 31ec13561060b748221f4e0404bcc5bf8078ccd0 (patch) | |
tree | 27f1e91e9ce54d3e13090779fb95282269612117 /drivers/media/video/ivtv/ivtv-i2c.c | |
parent | 43053c07fa2935038bfc0e5dbaf417d1d66cd95d (diff) |
V4L/DVB (5379): If possible make vars/functions static.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/ivtv/ivtv-i2c.c')
-rw-r--r-- | drivers/media/video/ivtv/ivtv-i2c.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/media/video/ivtv/ivtv-i2c.c b/drivers/media/video/ivtv/ivtv-i2c.c index 07c7ed0fe445..696af35e0282 100644 --- a/drivers/media/video/ivtv/ivtv-i2c.c +++ b/drivers/media/video/ivtv/ivtv-i2c.c | |||
@@ -574,7 +574,7 @@ int ivtv_call_i2c_client(struct ivtv *itv, int addr, unsigned int cmd, void *arg | |||
574 | 574 | ||
575 | /* Find the i2c device based on the driver ID and return | 575 | /* Find the i2c device based on the driver ID and return |
576 | its i2c address or -ENODEV if no matching device was found. */ | 576 | its i2c address or -ENODEV if no matching device was found. */ |
577 | int ivtv_i2c_id_addr(struct ivtv *itv, u32 id) | 577 | static int ivtv_i2c_id_addr(struct ivtv *itv, u32 id) |
578 | { | 578 | { |
579 | struct i2c_client *client; | 579 | struct i2c_client *client; |
580 | int retval = -ENODEV; | 580 | int retval = -ENODEV; |
@@ -681,11 +681,6 @@ int ivtv_saa717x(struct ivtv *itv, unsigned int cmd, void *arg) | |||
681 | return ivtv_call_i2c_client(itv, IVTV_SAA717x_I2C_ADDR, cmd, arg); | 681 | return ivtv_call_i2c_client(itv, IVTV_SAA717x_I2C_ADDR, cmd, arg); |
682 | } | 682 | } |
683 | 683 | ||
684 | int ivtv_msp34xx(struct ivtv *itv, unsigned int cmd, void *arg) | ||
685 | { | ||
686 | return ivtv_call_i2c_client(itv, IVTV_MSP3400_I2C_ADDR, cmd, arg); | ||
687 | } | ||
688 | |||
689 | int ivtv_upd64031a(struct ivtv *itv, unsigned int cmd, void *arg) | 684 | int ivtv_upd64031a(struct ivtv *itv, unsigned int cmd, void *arg) |
690 | { | 685 | { |
691 | return ivtv_call_i2c_client(itv, IVTV_UPD64031A_I2C_ADDR, cmd, arg); | 686 | return ivtv_call_i2c_client(itv, IVTV_UPD64031A_I2C_ADDR, cmd, arg); |