diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2007-03-03 12:50:42 +0100 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2007-03-03 12:50:42 +0100 |
commit | 1922eef0f615e0ba0a79aa927c0abdcf5afd6808 (patch) | |
tree | dc94ce2f13968e0b99b8405d992190be77eb79eb /linux/drivers/media/video/ivtv/ivtv-i2c.c | |
parent | ef1b8f512975727ef4fb44685cbcfe75d9ab9c97 (diff) | |
download | mediapointer-dvb-s2-1922eef0f615e0ba0a79aa927c0abdcf5afd6808.tar.gz mediapointer-dvb-s2-1922eef0f615e0ba0a79aa927c0abdcf5afd6808.tar.bz2 |
If possible make vars/functions static.
From: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/ivtv/ivtv-i2c.c')
-rw-r--r-- | linux/drivers/media/video/ivtv/ivtv-i2c.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/linux/drivers/media/video/ivtv/ivtv-i2c.c b/linux/drivers/media/video/ivtv/ivtv-i2c.c index 464ee5bae..d6cb9e7e6 100644 --- a/linux/drivers/media/video/ivtv/ivtv-i2c.c +++ b/linux/drivers/media/video/ivtv/ivtv-i2c.c @@ -577,7 +577,7 @@ int ivtv_call_i2c_client(struct ivtv *itv, int addr, unsigned int cmd, void *arg /* Find the i2c device based on the driver ID and return its i2c address or -ENODEV if no matching device was found. */ -int ivtv_i2c_id_addr(struct ivtv *itv, u32 id) +static int ivtv_i2c_id_addr(struct ivtv *itv, u32 id) { struct i2c_client *client; int retval = -ENODEV; @@ -684,11 +684,6 @@ int ivtv_saa717x(struct ivtv *itv, unsigned int cmd, void *arg) return ivtv_call_i2c_client(itv, IVTV_SAA717x_I2C_ADDR, cmd, arg); } -int ivtv_msp34xx(struct ivtv *itv, unsigned int cmd, void *arg) -{ - return ivtv_call_i2c_client(itv, IVTV_MSP3400_I2C_ADDR, cmd, arg); -} - int ivtv_upd64031a(struct ivtv *itv, unsigned int cmd, void *arg) { return ivtv_call_i2c_client(itv, IVTV_UPD64031A_I2C_ADDR, cmd, arg); |