[patch 21/37] V4L: radio: Fix error in Kbuild file

Greg KH
2007-03-30T21:19:01Z

[-- Attachment #1: v4l-radio-fix-error-in-kbuild-file.patch --]
[-- Type: text/plain, Size: 1031 bytes --]

-stable review patch. If anyone has any objections, please let us know.

------------------
From: Trent Piepho <xyzzy@speakeasy.org>

V4L: radio: Fix error in Kbuild file

All the radio drivers need video_dev, but they were depending on
VIDEO_DEV!=n. That meant that one could try to compile the driver into
the kernel when VIDEO_DEV=m, which will not work. If video_dev is a
module, then the radio drivers must be modules too.

(cherry picked from commit b10fece583fdfdb3d2f29b0da3896ec58b8fe122)

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

---
drivers/media/radio/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/media/radio/Kconfig
+++ b/drivers/media/radio/Kconfig
@@ -3,7 +3,7 @@
#

menu "Radio Adapters"
- depends on VIDEO_DEV!=n
+ depends on VIDEO_DEV

config RADIO_CADET
tristate "ADS Cadet AM/FM Tuner"

--