From: Trent Piepho <xyzzy@speakeasy.org>
Date: Wed, 7 Mar 2007 21:19:46 +0000 (-0300)
Subject: V4L/DVB (5390): Radio: Fix error in Kbuild file
X-Git-Tag: v2.6.21-rc6~85^2~6
X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=b10fece583fdfdb3d2f29b0da3896ec58b8fe122;p=users%2Fjedix%2Flinux-maple.git

V4L/DVB (5390): 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.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
---

diff --git a/drivers/media/radio/Kconfig b/drivers/media/radio/Kconfig
index 920b63f8cf051..af66a5d5ecd8b 100644
--- 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"