Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756931Ab2EUQsb (ORCPT ); Mon, 21 May 2012 12:48:31 -0400 Received: from mail131.messagelabs.com ([216.82.242.99]:53073 "EHLO mail131.messagelabs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751499Ab2EUQs3 convert rfc822-to-8bit (ORCPT ); Mon, 21 May 2012 12:48:29 -0400 X-Env-Sender: hartleys@visionengravers.com X-Msg-Ref: server-10.tower-131.messagelabs.com!1337618864!23278352!19 X-Originating-IP: [216.166.12.180] X-StarScan-Version: 6.5.10; banners=-,-,- X-VirusChecked: Checked From: H Hartley Sweeten To: Randy Dunlap , Greg Kroah-Hartman CC: "devel@driverdev.osuosl.org" , Frank Mori Hess , Sergei Shtylyov , Stephen Rothwell , "linux-usb@vger.kernel.org" , LKML , Ian Abbott , "linux-next@vger.kernel.org" Date: Mon, 21 May 2012 11:48:13 -0500 Subject: RE: [PATCH -next v2] usb: add usb.h stubs for CONFIG_USB not enabled Thread-Topic: [PATCH -next v2] usb: add usb.h stubs for CONFIG_USB not enabled Thread-Index: Ac013OBuhwj9+mY3Q26Gi4NNLSVnPABlDUYg Message-ID: References: <20120518184943.2c762e8441e53ea24748d1b8@canb.auug.org.au> <4FB6ED55.6090805@xenotime.net> <20120519005031.GA27613@kroah.com> <4FB6FFBF.6000509@xenotime.net> <4FB7AB4D.5040900@mvista.com> <4FB7C028.80406@xenotime.net> <20120519161207.GA31712@kroah.com> <4FB7CACF.9030302@xenotime.net> In-Reply-To: <4FB7CACF.9030302@xenotime.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 912 Lines: 22 On Saturday, May 19, 2012 9:31 AM, Randy Dunlap wrote: > > Add stubs for some usb core functions when CONFIG_USB > is not enabled. This fixes these comedi build errors: > > ERROR: "usb_deregister" [drivers/staging/comedi/comedi.ko] undefined! > ERROR: "usb_register_driver" [drivers/staging/comedi/comedi.ko] undefined! > > Signed-off-by: Randy Dunlap Sorry about causing the trouble with my changes to the comedi staging driver. I, wrongly, assumed that the usb register/deregister functions are already stubbed like the pci functions. I'll make sure the check in the future. Reviewed-by: H Hartley Sweeten -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/