diff options
Diffstat (limited to 'drivers/media/radio/radio-timb.c')
-rw-r--r-- | drivers/media/radio/radio-timb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/radio/radio-timb.c b/drivers/media/radio/radio-timb.c index a185610b376b..f17b540d68a5 100644 --- a/drivers/media/radio/radio-timb.c +++ b/drivers/media/radio/radio-timb.c | |||
@@ -16,7 +16,6 @@ | |||
16 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | 16 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
17 | */ | 17 | */ |
18 | 18 | ||
19 | #include <linux/version.h> | ||
20 | #include <linux/io.h> | 19 | #include <linux/io.h> |
21 | #include <media/v4l2-ioctl.h> | 20 | #include <media/v4l2-ioctl.h> |
22 | #include <media/v4l2-device.h> | 21 | #include <media/v4l2-device.h> |
@@ -44,7 +43,6 @@ static int timbradio_vidioc_querycap(struct file *file, void *priv, | |||
44 | strlcpy(v->driver, DRIVER_NAME, sizeof(v->driver)); | 43 | strlcpy(v->driver, DRIVER_NAME, sizeof(v->driver)); |
45 | strlcpy(v->card, "Timberdale Radio", sizeof(v->card)); | 44 | strlcpy(v->card, "Timberdale Radio", sizeof(v->card)); |
46 | snprintf(v->bus_info, sizeof(v->bus_info), "platform:"DRIVER_NAME); | 45 | snprintf(v->bus_info, sizeof(v->bus_info), "platform:"DRIVER_NAME); |
47 | v->version = KERNEL_VERSION(0, 0, 1); | ||
48 | v->capabilities = V4L2_CAP_TUNER | V4L2_CAP_RADIO; | 46 | v->capabilities = V4L2_CAP_TUNER | V4L2_CAP_RADIO; |
49 | return 0; | 47 | return 0; |
50 | } | 48 | } |
@@ -245,4 +243,5 @@ module_exit(timbradio_exit); | |||
245 | MODULE_DESCRIPTION("Timberdale Radio driver"); | 243 | MODULE_DESCRIPTION("Timberdale Radio driver"); |
246 | MODULE_AUTHOR("Mocean Laboratories <info@mocean-labs.com>"); | 244 | MODULE_AUTHOR("Mocean Laboratories <info@mocean-labs.com>"); |
247 | MODULE_LICENSE("GPL v2"); | 245 | MODULE_LICENSE("GPL v2"); |
246 | MODULE_VERSION("0.0.2"); | ||
248 | MODULE_ALIAS("platform:"DRIVER_NAME); | 247 | MODULE_ALIAS("platform:"DRIVER_NAME); |