aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/ivtv/ivtv-i2c.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2007-03-03 06:50:42 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-04-27 14:44:13 -0400
commit31ec13561060b748221f4e0404bcc5bf8078ccd0 (patch)
tree27f1e91e9ce54d3e13090779fb95282269612117 /drivers/media/video/ivtv/ivtv-i2c.c
parent43053c07fa2935038bfc0e5dbaf417d1d66cd95d (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.c7
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. */
577int ivtv_i2c_id_addr(struct ivtv *itv, u32 id) 577static 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
684int 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
689int ivtv_upd64031a(struct ivtv *itv, unsigned int cmd, void *arg) 684int 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);