From patchwork Fri May 6 10:36:29 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 67256 Delivered-To: patch@linaro.org Received: by 10.140.92.199 with SMTP id b65csp245203qge; Fri, 6 May 2016 03:35:52 -0700 (PDT) X-Received: by 10.194.16.8 with SMTP id b8mr19007054wjd.51.1462530952821; Fri, 06 May 2016 03:35:52 -0700 (PDT) Return-Path: Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id i72si9899113wmf.41.2016.05.06.03.35.52; Fri, 06 May 2016 03:35:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) client-ip=85.214.87.163; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 39783A754E; Fri, 6 May 2016 12:35:51 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UFPAdRhpsloY; Fri, 6 May 2016 12:35:50 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 52E6CA74E0; Fri, 6 May 2016 12:35:50 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id AB13FA74E0 for ; Fri, 6 May 2016 12:35:46 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5m-bf0b8lbgP for ; Fri, 6 May 2016 12:35:46 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from conuserg-11.nifty.com (conuserg-11.nifty.com [210.131.2.78]) by theia.denx.de (Postfix) with ESMTPS id D79A7A74A8 for ; Fri, 6 May 2016 12:35:41 +0200 (CEST) Received: from beagle.diag.org (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-11.nifty.com with ESMTP id u46AZR2U006983; Fri, 6 May 2016 19:35:27 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-11.nifty.com u46AZR2U006983 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1462530927; bh=vvkkBm0NatCfn9zS5dmhQ22ZZbqAnVerpjdgrz2rvrU=; h=From:To:Cc:Subject:Date:From; b=RQf6nyM7rbCXtraNki/L/GllqyfNaYTTJLwvDR9ZxFE103M86wq6RUKfdTo5X/OAI TrTWGLPkPz0HQwxwV2aN2Ur9TyhsRcPOI2MBi4j9on8p/tuBGj68OZ38UUgr9v3QvO ME9MWVyhPaiCWiEiAMKeTYiZOLwu6rNO/VVQz4lOBLn7UvOHW1rWZMhE49A1zTV8tP jvDnPRDSPRKBmvT9Nhlo92dz/P7iaPB5hRavC4qIlY0/yVUEHarttsbkzL3TpYTzyF nEX2n9ZiVN6kovSzzy+xNKLzW2s8F0kA0SF3qCIx9e0WsY/Nso8NSVqegiKjiMXDN2 AxVvOsy9SLuoA== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Fri, 6 May 2016 19:36:29 +0900 Message-Id: <1462530989-28434-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 1.9.1 Cc: Marek Vasut Subject: [U-Boot] [PATCH] usb: xhci: add struct devrequest declaration X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This should be declared for xhci_ctrl_tx() to avoid build error. Signed-off-by: Masahiro Yamada --- drivers/usb/host/xhci.h | 2 ++ 1 file changed, 2 insertions(+) -- 1.9.1 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h index 2afa386..16dd61a 100644 --- a/drivers/usb/host/xhci.h +++ b/drivers/usb/host/xhci.h @@ -1252,6 +1252,8 @@ void xhci_acknowledge_event(struct xhci_ctrl *ctrl); union xhci_trb *xhci_wait_for_event(struct xhci_ctrl *ctrl, trb_type expected); int xhci_bulk_tx(struct usb_device *udev, unsigned long pipe, int length, void *buffer); + +struct devrequest; int xhci_ctrl_tx(struct usb_device *udev, unsigned long pipe, struct devrequest *req, int length, void *buffer); int xhci_check_maxpacket(struct usb_device *udev);