Subject: [PATCH -next] media: fix kconfig dependency warning for VIDEO_TIMBERDALE

From: Randy Dunlap <[email-masked]>
Date: Sun, 22 May 2011 17:34:12 -0700

From: Randy Dunlap <[email-masked]>

Fix kconfig unmet dependency warning:

warning: (VIDEO_TIMBERDALE) selects TIMB_DMA which has unmet direct dependencies (DMADEVICES && (MFD_TIMBERDALE || HAS_IOMEM))

Signed-off-by: Randy Dunlap <[email-masked]>
Cc: Pelagicore AB <[email-masked]>
---
 drivers/media/video/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20110520.orig/drivers/media/video/Kconfig
+++ linux-next-20110520/drivers/media/video/Kconfig
@@ -683,7 +683,7 @@ config VIDEO_HEXIUM_GEMINI
 
 config VIDEO_TIMBERDALE
 	tristate "Support for timberdale Video In/LogiWIN"
-	depends on VIDEO_V4L2 && I2C
+	depends on VIDEO_V4L2 && I2C && DMADEVICES
 	select DMA_ENGINE
 	select TIMB_DMA
 	select VIDEO_ADV7180