diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-06-25 09:15:42 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-07-27 16:53:16 -0400 |
commit | 29834c1ac7589c72996c5d02349d63fd397ef131 (patch) | |
tree | 60d5bfadc2bc4f88938640a6d11ff0983b5f5fd4 /drivers/media/radio/si470x/radio-si470x-i2c.c | |
parent | 64dc3c1a906467d90c24913b0b38dd13d9378f4f (diff) |
[media] radio: Use the subsystem version control for VIDIOC_QUERYCAP
Just like the video drivers, the right thing to do is to use
the per-subsystem version control.
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/radio/si470x/radio-si470x-i2c.c')
-rw-r--r-- | drivers/media/radio/si470x/radio-si470x-i2c.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/media/radio/si470x/radio-si470x-i2c.c b/drivers/media/radio/si470x/radio-si470x-i2c.c index a2a67772c42c..fd3541b0e91c 100644 --- a/drivers/media/radio/si470x/radio-si470x-i2c.c +++ b/drivers/media/radio/si470x/radio-si470x-i2c.c | |||
@@ -24,10 +24,9 @@ | |||
24 | 24 | ||
25 | /* driver definitions */ | 25 | /* driver definitions */ |
26 | #define DRIVER_AUTHOR "Joonyoung Shim <jy0922.shim@samsung.com>"; | 26 | #define DRIVER_AUTHOR "Joonyoung Shim <jy0922.shim@samsung.com>"; |
27 | #define DRIVER_KERNEL_VERSION KERNEL_VERSION(1, 0, 1) | ||
28 | #define DRIVER_CARD "Silicon Labs Si470x FM Radio Receiver" | 27 | #define DRIVER_CARD "Silicon Labs Si470x FM Radio Receiver" |
29 | #define DRIVER_DESC "I2C radio driver for Si470x FM Radio Receivers" | 28 | #define DRIVER_DESC "I2C radio driver for Si470x FM Radio Receivers" |
30 | #define DRIVER_VERSION "1.0.1" | 29 | #define DRIVER_VERSION "1.0.2" |
31 | 30 | ||
32 | /* kernel includes */ | 31 | /* kernel includes */ |
33 | #include <linux/i2c.h> | 32 | #include <linux/i2c.h> |
@@ -248,7 +247,6 @@ int si470x_vidioc_querycap(struct file *file, void *priv, | |||
248 | { | 247 | { |
249 | strlcpy(capability->driver, DRIVER_NAME, sizeof(capability->driver)); | 248 | strlcpy(capability->driver, DRIVER_NAME, sizeof(capability->driver)); |
250 | strlcpy(capability->card, DRIVER_CARD, sizeof(capability->card)); | 249 | strlcpy(capability->card, DRIVER_CARD, sizeof(capability->card)); |
251 | capability->version = DRIVER_KERNEL_VERSION; | ||
252 | capability->capabilities = V4L2_CAP_HW_FREQ_SEEK | | 250 | capability->capabilities = V4L2_CAP_HW_FREQ_SEEK | |
253 | V4L2_CAP_TUNER | V4L2_CAP_RADIO; | 251 | V4L2_CAP_TUNER | V4L2_CAP_RADIO; |
254 | 252 | ||