diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-08-08 08:10:01 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-09-26 10:52:53 -0400 |
commit | 38ee04f04340ffd6af868499862341d11ed2b331 (patch) | |
tree | cb8c4a7336cb3dc89f4ff6a46fab706ea3603b76 /drivers/media/radio | |
parent | a4366af40d7d2021499b84b8311336c944a9a71c (diff) |
V4L/DVB (4348): Fix: compile for radio aimslab and aztech with V4L2 only
All radio devices use an obsolete mode of opening/release driver.
Since this is not V4L1 core, better to keep the method available for more
time than to rewrite open/release without a radio device to test, since the
newer method is much more complex than the previous one (although providing
support for multiple opens and multiple devices).
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/radio')
-rw-r--r-- | drivers/media/radio/radio-aimslab.c | 2 | ||||
-rw-r--r-- | drivers/media/radio/radio-aztech.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/radio/radio-aimslab.c b/drivers/media/radio/radio-aimslab.c index 7b9043f9d9bc..3368a89bfadb 100644 --- a/drivers/media/radio/radio-aimslab.c +++ b/drivers/media/radio/radio-aimslab.c | |||
@@ -372,7 +372,7 @@ static struct video_device rtrack_radio= | |||
372 | .owner = THIS_MODULE, | 372 | .owner = THIS_MODULE, |
373 | .name = "RadioTrack radio", | 373 | .name = "RadioTrack radio", |
374 | .type = VID_TYPE_TUNER, | 374 | .type = VID_TYPE_TUNER, |
375 | .hardware = VID_HARDWARE_RTRACK, | 375 | .hardware = 0, |
376 | .fops = &rtrack_fops, | 376 | .fops = &rtrack_fops, |
377 | }; | 377 | }; |
378 | 378 | ||
diff --git a/drivers/media/radio/radio-aztech.c b/drivers/media/radio/radio-aztech.c index f21d918b3f99..3ba5fa8cf7e6 100644 --- a/drivers/media/radio/radio-aztech.c +++ b/drivers/media/radio/radio-aztech.c | |||
@@ -328,7 +328,7 @@ static struct video_device aztech_radio= | |||
328 | .owner = THIS_MODULE, | 328 | .owner = THIS_MODULE, |
329 | .name = "Aztech radio", | 329 | .name = "Aztech radio", |
330 | .type = VID_TYPE_TUNER, | 330 | .type = VID_TYPE_TUNER, |
331 | .hardware = VID_HARDWARE_AZTECH, | 331 | .hardware = 0, |
332 | .fops = &aztech_fops, | 332 | .fops = &aztech_fops, |
333 | }; | 333 | }; |
334 | 334 | ||