diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2011-08-26 06:35:14 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-09-21 08:52:21 -0400 |
commit | 88365105d683187e02a4f75220eaf51fd0c0b6e0 (patch) | |
tree | acbc18b9e8eb7f74630fb7fd709cb35eafd30f54 /drivers/media/radio/radio-wl1273.c | |
parent | 74a45790861f659058e8f8b565d98e5a1fdd8440 (diff) |
[media] v4l2-ctrls: replace is_volatile with V4L2_CTRL_FLAG_VOLATILE
With the new flag there is no need anymore to have a separate is_volatile
field. Modify all users to use the new flag.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/radio/radio-wl1273.c')
-rw-r--r-- | drivers/media/radio/radio-wl1273.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/radio/radio-wl1273.c b/drivers/media/radio/radio-wl1273.c index 46cacf845049..6d1e4e750f63 100644 --- a/drivers/media/radio/radio-wl1273.c +++ b/drivers/media/radio/radio-wl1273.c | |||
@@ -2109,7 +2109,7 @@ static int __devinit wl1273_fm_radio_probe(struct platform_device *pdev) | |||
2109 | V4L2_CID_TUNE_ANTENNA_CAPACITOR, | 2109 | V4L2_CID_TUNE_ANTENNA_CAPACITOR, |
2110 | 0, 255, 1, 255); | 2110 | 0, 255, 1, 255); |
2111 | if (ctrl) | 2111 | if (ctrl) |
2112 | ctrl->is_volatile = 1; | 2112 | ctrl->flags |= V4L2_CTRL_FLAG_VOLATILE; |
2113 | 2113 | ||
2114 | if (radio->ctrl_handler.error) { | 2114 | if (radio->ctrl_handler.error) { |
2115 | r = radio->ctrl_handler.error; | 2115 | r = radio->ctrl_handler.error; |