Skip to contentSkip to conversation

PWC: fix build error when CONFIG_INPUT=m

PATCH RESEND New Mauro Carvalho Chehab 1 participant 1 message Apr 6, 2009 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 PWC: fix build error when CONFIG_INPUT=m

Forwarded message:

Date: Mon, 6 Apr 2009 14:59:31 -0700
From: Randy Dunlap <[email protected]>
To: Mauro Carvalho Chehab <[email protected]>, lkml <[email protected]>
Cc: Laurent Pinchart <[email protected]>, "Rafael J. Wysocki" <[email protected]>
Subject: [PATCH resend] PWC: fix build error when CONFIG_INPUT=m

From: Randy Dunlap <[email protected]>

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

---
 drivers/media/video/pwc/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/media/video/pwc/Kconfig +1 -1
@@ -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.
Signature · 2 lines
Cheers,
Mauro