diff options
Diffstat (limited to 'drivers/media/radio/radio-aztech.c')
-rw-r--r-- | drivers/media/radio/radio-aztech.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/media/radio/radio-aztech.c b/drivers/media/radio/radio-aztech.c index dd8a6ab0d437..eed7b0840734 100644 --- a/drivers/media/radio/radio-aztech.c +++ b/drivers/media/radio/radio-aztech.c | |||
@@ -30,7 +30,6 @@ | |||
30 | #include <linux/ioport.h> /* request_region */ | 30 | #include <linux/ioport.h> /* request_region */ |
31 | #include <linux/delay.h> /* udelay */ | 31 | #include <linux/delay.h> /* udelay */ |
32 | #include <linux/videodev2.h> /* kernel radio structs */ | 32 | #include <linux/videodev2.h> /* kernel radio structs */ |
33 | #include <linux/version.h> /* for KERNEL_VERSION MACRO */ | ||
34 | #include <linux/io.h> /* outb, outb_p */ | 33 | #include <linux/io.h> /* outb, outb_p */ |
35 | #include <media/v4l2-device.h> | 34 | #include <media/v4l2-device.h> |
36 | #include <media/v4l2-ioctl.h> | 35 | #include <media/v4l2-ioctl.h> |
@@ -38,6 +37,7 @@ | |||
38 | MODULE_AUTHOR("Russell Kroll, Quay Lu, Donald Song, Jason Lewis, Scott McGrath, William McGrath"); | 37 | MODULE_AUTHOR("Russell Kroll, Quay Lu, Donald Song, Jason Lewis, Scott McGrath, William McGrath"); |
39 | MODULE_DESCRIPTION("A driver for the Aztech radio card."); | 38 | MODULE_DESCRIPTION("A driver for the Aztech radio card."); |
40 | MODULE_LICENSE("GPL"); | 39 | MODULE_LICENSE("GPL"); |
40 | MODULE_VERSION("0.0.3"); | ||
41 | 41 | ||
42 | /* acceptable ports: 0x350 (JP3 shorted), 0x358 (JP3 open) */ | 42 | /* acceptable ports: 0x350 (JP3 shorted), 0x358 (JP3 open) */ |
43 | 43 | ||
@@ -53,8 +53,6 @@ module_param(io, int, 0); | |||
53 | module_param(radio_nr, int, 0); | 53 | module_param(radio_nr, int, 0); |
54 | MODULE_PARM_DESC(io, "I/O address of the Aztech card (0x350 or 0x358)"); | 54 | MODULE_PARM_DESC(io, "I/O address of the Aztech card (0x350 or 0x358)"); |
55 | 55 | ||
56 | #define RADIO_VERSION KERNEL_VERSION(0, 0, 2) | ||
57 | |||
58 | struct aztech | 56 | struct aztech |
59 | { | 57 | { |
60 | struct v4l2_device v4l2_dev; | 58 | struct v4l2_device v4l2_dev; |
@@ -188,7 +186,6 @@ static int vidioc_querycap(struct file *file, void *priv, | |||
188 | strlcpy(v->driver, "radio-aztech", sizeof(v->driver)); | 186 | strlcpy(v->driver, "radio-aztech", sizeof(v->driver)); |
189 | strlcpy(v->card, "Aztech Radio", sizeof(v->card)); | 187 | strlcpy(v->card, "Aztech Radio", sizeof(v->card)); |
190 | strlcpy(v->bus_info, "ISA", sizeof(v->bus_info)); | 188 | strlcpy(v->bus_info, "ISA", sizeof(v->bus_info)); |
191 | v->version = RADIO_VERSION; | ||
192 | v->capabilities = V4L2_CAP_TUNER | V4L2_CAP_RADIO; | 189 | v->capabilities = V4L2_CAP_TUNER | V4L2_CAP_RADIO; |
193 | return 0; | 190 | return 0; |
194 | } | 191 | } |