summaryrefslogtreecommitdiffstats
path: root/drivers/media/radio/tef6862.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/radio/tef6862.c')
-rw-r--r--drivers/media/radio/tef6862.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/radio/tef6862.c b/drivers/media/radio/tef6862.c
index 867395568f92..82c6c9475d7c 100644
--- a/drivers/media/radio/tef6862.c
+++ b/drivers/media/radio/tef6862.c
@@ -96,7 +96,7 @@ static int tef6862_g_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *v)
return 0;
}
-static int tef6862_s_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *v)
+static int tef6862_s_tuner(struct v4l2_subdev *sd, const struct v4l2_tuner *v)
{
return v->index ? -EINVAL : 0;
}