diff mbox

[resend] PWC: fix build error when CONFIG_INPUT=m

Message ID 20090406194012.3f51428a@pedra.chehab.org (mailing list archive)
State Accepted
Headers show

Commit Message

Mauro Carvalho Chehab April 6, 2009, 10:40 p.m. UTC
Forwarded message:

Date: Mon, 6 Apr 2009 14:59:31 -0700
From: Randy Dunlap <randy.dunlap@oracle.com>
To: Mauro Carvalho Chehab <mchehab@redhat.com>,        lkml <linux-kernel@vger.kernel.org>
Cc: Laurent Pinchart <laurent.pinchart@skynet.be>,        "Rafael J. Wysocki" <rjw@sisk.pl>
Subject: [PATCH resend] PWC: fix build error when CONFIG_INPUT=m


From: Randy Dunlap <randy.dunlap@oracle.com>

Fix build errors when USB_PWC=y and INPUT=m.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
 drivers/media/video/pwc/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

--- mmotm-2009-0214-0049.orig/drivers/media/video/pwc/Kconfig
+++ mmotm-2009-0214-0049/drivers/media/video/pwc/Kconfig
@@ -39,7 +39,7 @@  config USB_PWC_DEBUG
 config USB_PWC_INPUT_EVDEV
 	bool "USB Philips Cameras input events device support"
 	default y
-	depends on USB_PWC && INPUT
+	depends on USB_PWC=INPUT || INPUT=y
 	---help---
 	  This option makes USB Philips cameras register the snapshot button as
 	  an input device to report button events.