Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752836AbcD0MuB (ORCPT ); Wed, 27 Apr 2016 08:50:01 -0400 Received: from mail-db3on0064.outbound.protection.outlook.com ([157.55.234.64]:16960 "EHLO emea01-db3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750826AbcD0Mt6 convert rfc822-to-8bit (ORCPT ); Wed, 27 Apr 2016 08:49:58 -0400 From: Jun Li To: Roger Quadros , "stern@rowland.harvard.edu" , "balbi@kernel.org" , "gregkh@linuxfoundation.org" , "peter.chen@freescale.com" CC: "dan.j.williams@intel.com" , "jun.li@freescale.com" , "mathias.nyman@linux.intel.com" , "tony@atomide.com" , "Joao.Pinto@synopsys.com" , "abrestic@chromium.org" , "r.baldyga@samsung.com" , "linux-usb@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-omap@vger.kernel.org" Subject: RE: [PATCH v6 08/12] usb: hcd: Adapt to OTG core Thread-Topic: [PATCH v6 08/12] usb: hcd: Adapt to OTG core Thread-Index: AQHRj0RM8SCn344KpEegRiv8CV62KJ+dugQggAAPkQCAAAMNgIAAGzpg Date: Wed, 27 Apr 2016 12:49:54 +0000 Message-ID: References: <1459865117-7032-1-git-send-email-rogerq@ti.com> <1459865117-7032-9-git-send-email-rogerq@ti.com> <57209BE2.7030300@ti.com> <57209E71.5070709@ti.com> In-Reply-To: <57209E71.5070709@ti.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: ti.com; dkim=none (message not signed) header.d=none;ti.com; dmarc=none action=none header.from=nxp.com; x-originating-ip: [123.151.195.53] x-ms-office365-filtering-correlation-id: 5c956ebd-c1d8-4aed-cefa-08d36e9a6e90 x-microsoft-exchange-diagnostics: 1;AM4PR04MB2131;5:QVirzY3aELVmRqklrpGmQdB/u0nvlUXT6DHvNltQxyxv6cywXvaZDhOuvj/msGGet0x5KrIyd1auOkYJ5abqFkFKOMu0pZbCDnchkr//9iLbWUhooR+m/7UDPTuzXVYDYG9UPQce/c+IygtVBBIGcA==;24:KMhHvlpm6DC1RF+7rcM7TXBhD8mw0Ddt5sx28J21MN4ORLdfngss4Haz0r2N/BZJX92OVyCqJejEKWbqT9FWfeRQOCQhQvJkGsxX2mVUukw=;7:0iM/FNtisGtBNv2AzUdOcQ6y/3ICk59rZc2oOhZpZAz5Cjymfk5p2/7tIo+ltBYfT6t3p1+VYB6hDmSjE6QsKOgSEPCz8p6X/7qYvy80N8DCA8SJQgYyfZyG8y12lGuOVC7Y9Pccz7/xOMSrk2W38rAEkcDsDihEmBeZz5AZNcE6j0n/AR+MOpS1KYEdbKXK x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:AM4PR04MB2131; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(9101521072)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6055026);SRVR:AM4PR04MB2131;BCL:0;PCL:0;RULEID:;SRVR:AM4PR04MB2131; x-forefront-prvs: 0925081676 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(6009001)(13464003)(377454003)(24454002)(3846002)(92566002)(74316001)(54356999)(77096005)(15975445007)(76176999)(1096002)(5008740100001)(1220700001)(2950100001)(4326007)(2900100001)(102836003)(6116002)(122556002)(189998001)(586003)(3280700002)(5004730100002)(3660700001)(2906002)(33656002)(9686002)(106116001)(19580395003)(81166005)(93886004)(87936001)(66066001)(19580405001)(86362001)(2501003)(2201001)(5002640100001)(10400500002)(5003600100002)(5001770100001)(76576001)(2171001)(50986999)(7059030);DIR:OUT;SFP:1101;SCL:1;SRVR:AM4PR04MB2131;H:AM4PR04MB2130.eurprd04.prod.outlook.com;FPR:;SPF:None;MLV:sfv;LANG:en; spamdiagnosticoutput: 1:23 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Apr 2016 12:49:54.7749 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR04MB2131 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1591 Lines: 53 Hi > -----Original Message----- > From: Roger Quadros [mailto:rogerq@ti.com] > Sent: Wednesday, April 27, 2016 7:12 PM > To: Jun Li ; stern@rowland.harvard.edu; balbi@kernel.org; > gregkh@linuxfoundation.org; peter.chen@freescale.com > Cc: dan.j.williams@intel.com; jun.li@freescale.com; > mathias.nyman@linux.intel.com; tony@atomide.com; Joao.Pinto@synopsys.com; > abrestic@chromium.org; r.baldyga@samsung.com; linux-usb@vger.kernel.org; > linux-kernel@vger.kernel.org; linux-omap@vger.kernel.org > Subject: Re: [PATCH v6 08/12] usb: hcd: Adapt to OTG core > > On 27/04/16 14:00, Roger Quadros wrote: > > On 27/04/16 13:16, Jun Li wrote: > >> Hi > >> > >>> > >>> + > >>> +static struct otg_hcd_ops otg_hcd_intf = { > >>> + .add = usb_add_hcd, > >>> + .remove = usb_remove_hcd, > >>> + .usb_bus_start_enum = usb_bus_start_enum, > >> > >> Build break if CONFIG_USB_OTG is not enabled: > >> > >> drivers/built-in.o:(.data+0x1db30): undefined reference to > `usb_bus_start_enum' > >> Makefile:948: recipe for target 'vmlinux' failed > >> make: *** [vmlinux] Error 1 > > I couldn't get this error. Could you please send me your .config? Thanks. imx_v6_v7_defconfig > > cheers, > -roger > > > > Thanks. Will fix it. > > > > cheers, > > -roger > > > >> > >>> + .usb_control_msg = usb_control_msg, > >>> + .usb_hub_find_child = usb_hub_find_child, }; > >>> + > >> > > -- > > To unsubscribe from this list: send the line "unsubscribe linux-usb" > > in the body of a message to majordomo@vger.kernel.org More majordomo > > info at http://vger.kernel.org/majordomo-info.html > >