From patchwork Mon Aug 24 03:41:04 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 43539 X-Patchwork-Delegate: dougsland@redhat.com Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n7O4HRgY009918 for ; Mon, 24 Aug 2009 04:17:27 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751335AbZHXEQg (ORCPT ); Mon, 24 Aug 2009 00:16:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751278AbZHXEQg (ORCPT ); Mon, 24 Aug 2009 00:16:36 -0400 Received: from rcsinet11.oracle.com ([148.87.113.123]:42038 "EHLO rgminet11.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750933AbZHXEQf convert rfc822-to-8bit (ORCPT ); Mon, 24 Aug 2009 00:16:35 -0400 Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rgminet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n7O4GCWO003545 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 24 Aug 2009 04:16:14 GMT Received: from abhmt014.oracle.com (abhmt014.oracle.com [141.146.116.23]) by acsinet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n7O4FlUZ000600; Mon, 24 Aug 2009 04:15:50 GMT Received: from chimera.site (/96.253.169.185) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 23 Aug 2009 20:39:08 -0700 Date: Sun, 23 Aug 2009 20:41:04 -0700 From: Randy Dunlap To: Toralf =?ISO-8859-1?Q?F=F6rster?= , akpm , Brian Johnson Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Mauro Carvalho Chehab Subject: [PATCH] gspca: fix sn9c20x build errors Message-Id: <20090823204104.6043aebe.randy.dunlap@oracle.com> In-Reply-To: <200908231417.49207.toralf.foerster@gmx.de> References: <200908231417.49207.toralf.foerster@gmx.de> Organization: Oracle Linux Eng. X-Mailer: Sylpheed 2.7.1 (GTK+ 2.12.0; x86_64-unknown-linux-gnu) Mime-Version: 1.0 X-Source-IP: abhmt014.oracle.com [141.146.116.23] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090207.4A9213F7.002D:SCFSTAT5015188,ss=1,fgs=0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org From: Randy Dunlap Fix gscpa sn9c20x build errors: ERROR: "input_event" [drivers/media/video/gspca/gspca_sn9c20x.ko] undefined! ERROR: "input_register_device" [drivers/media/video/gspca/gspca_sn9c20x.ko] undefined! ERROR: "input_free_device" [drivers/media/video/gspca/gspca_sn9c20x.ko] undefined! ERROR: "input_unregister_device" [drivers/media/video/gspca/gspca_sn9c20x.ko] undefined! ERROR: "input_allocate_device" [drivers/media/video/gspca/gspca_sn9c20x.ko] undefined! Reported-by: Toralf Förster --- drivers/media/video/gspca/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- ~Randy LPC 2009, Sept. 23-25, Portland, Oregon http://linuxplumbersconf.org/2009/ -- 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-2.6.31-rc7-git1.orig/drivers/media/video/gspca/Kconfig +++ linux-2.6.31-rc7-git1/drivers/media/video/gspca/Kconfig @@ -114,7 +114,7 @@ config USB_GSPCA_SN9C20X config USB_GSPCA_SN9C20X_EVDEV bool "Enable evdev support" - depends on USB_GSPCA_SN9C20X + depends on USB_GSPCA_SN9C20X && INPUT ---help--- Say Y here in order to enable evdev support for sn9c20x webcam button.