aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/radio/radio-timb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/radio/radio-timb.c')
-rw-r--r--drivers/media/radio/radio-timb.c3
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);
245MODULE_DESCRIPTION("Timberdale Radio driver"); 243MODULE_DESCRIPTION("Timberdale Radio driver");
246MODULE_AUTHOR("Mocean Laboratories <info@mocean-labs.com>"); 244MODULE_AUTHOR("Mocean Laboratories <info@mocean-labs.com>");
247MODULE_LICENSE("GPL v2"); 245MODULE_LICENSE("GPL v2");
246MODULE_VERSION("0.0.2");
248MODULE_ALIAS("platform:"DRIVER_NAME); 247MODULE_ALIAS("platform:"DRIVER_NAME);