Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753761AbcD0KQk (ORCPT ); Wed, 27 Apr 2016 06:16:40 -0400 Received: from mail-am1on0053.outbound.protection.outlook.com ([157.56.112.53]:45824 "EHLO emea01-am1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752300AbcD0KQh convert rfc822-to-8bit (ORCPT ); Wed, 27 Apr 2016 06:16:37 -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+dugQg Date: Wed, 27 Apr 2016 10:16:33 +0000 Message-ID: References: <1459865117-7032-1-git-send-email-rogerq@ti.com> <1459865117-7032-9-git-send-email-rogerq@ti.com> In-Reply-To: <1459865117-7032-9-git-send-email-rogerq@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: [192.158.241.86] x-ms-office365-filtering-correlation-id: 5a5e4fed-a3a3-48ab-d2bb-08d36e850280 x-microsoft-exchange-diagnostics: 1;AM4PR04MB2130;5:BT9uLcotUYxwR4BmXFHHgbu4MnxLjA738E1LPrf5qt0TUQM0ngSi4IWfktLp//LXQKDe6SnHW+XDSpFnCPOGEPVtJx9JM7fwaDFVdfRoaAS+oKVx7YYTEU4BOWxMeFJP0xgm9RHXvyDRxRkx2zLtJg==;24:n+z4fRcDf/PZXn+4N+iISfeUFE+yzq8oVkD3lVUxtwFmIU/RZjShv1EZHidm5Q3ju8sgpomQ51StuMjevQkao98FPyb8SSc57Lhc7uSam5U=;7:6cxHunNVcd7wh2wdIWNvcdfAK3UilYgClksk/IYPkHxZPUki99fGKYcxPLx588EipRF+PgQAdtqeUbtgFLvvZelvs7B9Z/1TWELcqM5IgF0+LR+dbECvaAO6rBVi8Ls9dVmIsP774JRYaZ75qJM/t9+zeWKbIhFf0jerdD4fSW0D4vBnfud5Jxsz90r8474o x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:AM4PR04MB2130; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(9101521072)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6055026);SRVR:AM4PR04MB2130;BCL:0;PCL:0;RULEID:;SRVR:AM4PR04MB2130; x-forefront-prvs: 0925081676 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(6009001)(586003)(87936001)(2171001)(6116002)(76576001)(3846002)(76176999)(54356999)(102836003)(74316001)(50986999)(9686002)(3280700002)(86362001)(3660700001)(189998001)(106116001)(81166005)(10400500002)(2906002)(11100500001)(92566002)(5008740100001)(33656002)(2501003)(4326007)(77096005)(5004730100002)(1096002)(1220700001)(122556002)(2201001)(2950100001)(5003600100002)(66066001)(5001770100001)(2900100001)(5002640100001)(7059030);DIR:OUT;SFP:1101;SCL:1;SRVR:AM4PR04MB2130;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 10:16:33.9355 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR04MB2130 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 465 Lines: 20 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 Li Jun > + .usb_control_msg = usb_control_msg, > + .usb_hub_find_child = usb_hub_find_child, }; > +