From patchwork Thu Dec 30 18:23:38 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 5355 Return-path: Envelope-to: mchehab@gaivota Delivery-date: Thu, 30 Dec 2010 16:32:16 -0200 Received: from mchehab by gaivota with local (Exim 4.72) (envelope-from ) id 1PYNIO-00074E-KF for mchehab@gaivota; Thu, 30 Dec 2010 16:32:16 -0200 Received: from casper.infradead.org [85.118.1.10] by gaivota with IMAP (fetchmail-6.3.17) for (single-drop); Thu, 30 Dec 2010 16:32:16 -0200 (BRST) Received: from vger.kernel.org ([209.132.180.67]) by casper.infradead.org with esmtp (Exim 4.72 #1 (Red Hat Linux)) id 1PYNAU-00077C-Oz; Thu, 30 Dec 2010 18:24:07 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754972Ab0L3SXm (ORCPT + 1 other); Thu, 30 Dec 2010 13:23:42 -0500 Received: from xenotime.net ([72.52.115.56]:42713 "HELO xenotime.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1754969Ab0L3SXl (ORCPT ); Thu, 30 Dec 2010 13:23:41 -0500 Received: from chimera.site ([173.50.240.230]) by xenotime.net for ; Thu, 30 Dec 2010 10:23:38 -0800 Date: Thu, 30 Dec 2010 10:23:38 -0800 From: Randy Dunlap To: Stephen Rothwell , Mauro Carvalho Chehab Cc: linux-next@vger.kernel.org, LKML , linux-media@vger.kernel.org Subject: [PATCH -next] staging: usbvideo/vicam depends on USB Message-Id: <20101230102338.540a42c5.rdunlap@xenotime.net> In-Reply-To: <20101230125819.351debfc.sfr@canb.auug.org.au> References: <20101230125819.351debfc.sfr@canb.auug.org.au> Organization: YPO4 X-Mailer: Sylpheed 2.7.1 (GTK+ 2.16.6; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Sender: Mauro Carvalho Chehab From: Randy Dunlap Fix build errors by adding "depends on USB": ERROR: "usb_register_driver" [drivers/staging/usbvideo/vicam.ko] undefined! ERROR: "usb_bulk_msg" [drivers/staging/usbvideo/vicam.ko] undefined! ERROR: "usb_control_msg" [drivers/staging/usbvideo/vicam.ko] undefined! ERROR: "usb_deregister" [drivers/staging/usbvideo/vicam.ko] undefined! ERROR: "usb_get_dev" [drivers/staging/usbvideo/usbvideo.ko] undefined! ERROR: "usb_put_dev" [drivers/staging/usbvideo/usbvideo.ko] undefined! ERROR: "usb_free_urb" [drivers/staging/usbvideo/usbvideo.ko] undefined! ERROR: "usb_submit_urb" [drivers/staging/usbvideo/usbvideo.ko] undefined! ERROR: "usb_set_interface" [drivers/staging/usbvideo/usbvideo.ko] undefined! ERROR: "usb_kill_urb" [drivers/staging/usbvideo/usbvideo.ko] undefined! ERROR: "usb_register_driver" [drivers/staging/usbvideo/usbvideo.ko] undefined! ERROR: "usb_deregister" [drivers/staging/usbvideo/usbvideo.ko] undefined! ERROR: "usb_alloc_urb" [drivers/staging/usbvideo/usbvideo.ko] undefined! Signed-off-by: Randy Dunlap --- drivers/staging/usbvideo/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- linux-next-20101230.orig/drivers/staging/usbvideo/Kconfig +++ linux-next-20101230/drivers/staging/usbvideo/Kconfig @@ -3,7 +3,7 @@ config VIDEO_USBVIDEO config USB_VICAM tristate "USB 3com HomeConnect (aka vicam) support (DEPRECATED)" - depends on VIDEO_DEV && VIDEO_V4L2_COMMON + depends on VIDEO_DEV && VIDEO_V4L2_COMMON && USB select VIDEO_USBVIDEO ---help--- Say Y here if you have 3com homeconnect camera (vicam).