Browse Source

V4L/DVB (11440): PWC: fix build error when CONFIG_INPUT=m

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

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Randy Dunlap 16 years ago
parent
commit
f11ee73b0c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/media/video/pwc/Kconfig

+ 1 - 1
drivers/media/video/pwc/Kconfig

@@ -39,7 +39,7 @@ config USB_PWC_DEBUG
 config USB_PWC_INPUT_EVDEV
 config USB_PWC_INPUT_EVDEV
 	bool "USB Philips Cameras input events device support"
 	bool "USB Philips Cameras input events device support"
 	default y
 	default y
-	depends on USB_PWC && INPUT
+	depends on USB_PWC=INPUT || INPUT=y
 	---help---
 	---help---
 	  This option makes USB Philips cameras register the snapshot button as
 	  This option makes USB Philips cameras register the snapshot button as
 	  an input device to report button events.
 	  an input device to report button events.