summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/saa7134/saa6752hs.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/saa7134/saa6752hs.c')
-rw-r--r--linux/drivers/media/video/saa7134/saa6752hs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/drivers/media/video/saa7134/saa6752hs.c b/linux/drivers/media/video/saa7134/saa6752hs.c
index d37215ebb..cea922a8b 100644
--- a/linux/drivers/media/video/saa7134/saa6752hs.c
+++ b/linux/drivers/media/video/saa7134/saa6752hs.c
@@ -262,8 +262,8 @@ static int saa6752hs_set_bitrate(struct i2c_client* client,
}
-static int saa6752hs_set_params(struct i2c_client* client,
- struct v4l2_mpeg_compression* params)
+static void saa6752hs_set_params(struct i2c_client* client,
+ struct v4l2_mpeg_compression* params)
{
struct saa6752hs_state *h = i2c_get_clientdata(client);
@@ -459,7 +459,7 @@ saa6752hs_command(struct i2c_client *client, unsigned int cmd, void *arg)
saa6752hs_init(client);
break;
}
- err = saa6752hs_set_params(client, params);
+ saa6752hs_set_params(client, params);
/* fall through */
case VIDIOC_G_MPEGCOMP:
*params = h->params;