V4L/DVB (11440): PWC: fix build error when CONFIG_INPUT=m
authorRandy Dunlap <randy.dunlap@oracle.com>
Mon, 6 Apr 2009 21:59:31 +0000 (18:59 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 7 Apr 2009 00:44:52 +0000 (21:44 -0300)
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>
drivers/media/video/pwc/Kconfig

index 8b9f0aa..340f954 100644 (file)
@@ -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.