lkml.org 
[lkml]   [2009]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] UVC: uvc_status_cleanup(): undefined reference to `input_unregister_device'
Date
On Sunday 15 February 2009 20:59:20 Randy Dunlap wrote:
>
> This should allow INPUT=y or USB_VIDEO_CLASS=INPUT, i.e., they don't always
> have to match, in the case where INPUT=y and UVC=m (same problem exists
> with pwc in -mm & linux-next, btw. PWC patch follows this one.).
>
>
>
> From: Randy Dunlap <randy.dunlap@oracle.com>
>
> Fix build errors when USB_VIDEO_CLASS=y and INPUT=m.
> Fixes kernel bugzilla #12671.
>
> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>

Acked-by: Laurent Pinchart <laurent.pinchart@skynet.be>

Mauro, can you please apply ?

> ---
> drivers/media/video/uvc/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- mmotm-2009-0214-0049.orig/drivers/media/video/uvc/Kconfig
> +++ mmotm-2009-0214-0049/drivers/media/video/uvc/Kconfig
> @@ -9,7 +9,7 @@ config USB_VIDEO_CLASS
> config USB_VIDEO_CLASS_INPUT_EVDEV
> bool "UVC input events device support"
> default y
> - depends on USB_VIDEO_CLASS && INPUT
> + depends on USB_VIDEO_CLASS=INPUT || INPUT=y
> ---help---
> This option makes USB Video Class devices register an input device
> to report button events.

Laurent Pinchart



\
 
 \ /
  Last update: 2009-02-18 12:23    [W:2.441 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site