Skip to contentSkip to conversation

PWC: fix build error when CONFIG_INPUT=m

PATCH RESEND In review Randy Dunlap 2 participants 2 messages 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

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.
#1 lore raw

Hi Randy,

Next time, could you please c/c [email protected]? I'm relying on linux-media project at Patchwork for helping to not forget to patches.

Thanks,
Mauro.

Quoted 20 lines · On Mon, 6 Apr 2009 14:59:31 -0700 Randy Dunlap <[email protected]> wrote:

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