From patchwork Wed Oct 7 11:38:55 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Shimoda X-Patchwork-Id: 7344551 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id AAC82BEEA4 for ; Wed, 7 Oct 2015 11:39:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CB69E2069B for ; Wed, 7 Oct 2015 11:39:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E2835205EF for ; Wed, 7 Oct 2015 11:39:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752667AbbJGLjc (ORCPT ); Wed, 7 Oct 2015 07:39:32 -0400 Received: from relmlor4.renesas.com ([210.160.252.174]:61599 "EHLO relmlie3.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752469AbbJGLjb (ORCPT ); Wed, 7 Oct 2015 07:39:31 -0400 Received: from unknown (HELO relmlir1.idc.renesas.com) ([10.200.68.151]) by relmlie3.idc.renesas.com with ESMTP; 07 Oct 2015 20:39:29 +0900 Received: from relmlac1.idc.renesas.com (relmlac1.idc.renesas.com [10.200.69.21]) by relmlir1.idc.renesas.com (Postfix) with ESMTP id CAF6653843; Wed, 7 Oct 2015 20:39:29 +0900 (JST) Received: by relmlac1.idc.renesas.com (Postfix, from userid 0) id B989A8002E; Wed, 7 Oct 2015 20:39:29 +0900 (JST) Received: from relmlac1.idc.renesas.com (localhost [127.0.0.1]) by relmlac1.idc.renesas.com (Postfix) with ESMTP id B3D0E8002D; Wed, 7 Oct 2015 20:39:29 +0900 (JST) Received: from relmlii1.idc.renesas.com [10.200.68.65] by relmlac1.idc.renesas.com with ESMTP id WAH16206; Wed, 7 Oct 2015 20:39:29 +0900 X-IronPort-AV: E=Sophos;i="5.17,648,1437404400"; d="scan'";a="195945257" Received: from mail-hk2apc01lp0210.outbound.protection.outlook.com (HELO APC01-HK2-obe.outbound.protection.outlook.com) ([65.55.88.210]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA; 07 Oct 2015 20:39:28 +0900 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=<>; Received: from localhost (211.11.155.144) by TY1PR06MB0925.apcprd06.prod.outlook.com (10.164.99.151) with Microsoft SMTP Server (TLS) id 15.1.286.20; Wed, 7 Oct 2015 11:39:26 +0000 From: Yoshihiro Shimoda To: , , , , , , CC: , , Yoshihiro Shimoda Subject: [PATCH v2 3/6] usb: host: xhci-plat: add firmware_name in xhci_plat_priv Date: Wed, 7 Oct 2015 20:38:55 +0900 Message-ID: <1444217938-4668-4-git-send-email-yoshihiro.shimoda.uh@renesas.com> X-Mailer: git-send-email 1.9.4.msysgit.1 In-Reply-To: <1444217938-4668-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> References: <1444217938-4668-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> MIME-Version: 1.0 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: TY1PR01CA0010.jpnprd01.prod.outlook.com (25.161.131.148) To TY1PR06MB0925.apcprd06.prod.outlook.com (25.164.99.151) X-Microsoft-Exchange-Diagnostics: 1; TY1PR06MB0925; 2:NwnU3G/zcqD8cfsOi/ZBMD1InlOIVJEQ4lySIodkymIavRxgGzICWBtd3APUE6PNSdyj2w8P59Ov3o8izBHMDxbLUpaHgCZvfH2WD7nwRDRpm6CbURXzVHfBFxXJKahJBqhuqIecSFtRQQKmUDoyusS1vFzaKgVkvPsVbfA7xZk=; 3:pgbTqcVGZ1bEpSLZDcCv5T2BKbjt++eM+XstzQJxHWq/IVfG0HRfO7d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n9Y2LYRhne3KW+SLZKaasxHuChteycqTCChYBvqFTQgNB8fEpzDNBMqNgpL5zhh3IZlgVMXGJqy8gZepoN4oc5QQk7Vhq6M6O2rwDFTglkr4h0k2F8rzT8f8PMHrsIu9g/NjY8nlEYA8Q+MpUmM2/zmzjo53TzMrdVfi4CWHPxa+Q0kJGQtI/XMHZU6o6A8oSf029J0VaD5iPQSeeGdYu9F6XfoUm0hCRGFcHnpviV9/reHU2zHKXIv+DdY9eFswdxvEvoCsu6PvhkVFwIo= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(520078)(3002001); SRVR:TY1PR06MB0925; BCL:0; PCL:0; RULEID:; SRVR:TY1PR06MB0925; X-Forefront-PRVS: 0722981D2A X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6069001)(6009001)(199003)(189002)(19580395003)(64706001)(5001770100001)(47776003)(87976001)(50986999)(42382002)(5004730100002)(189998001)(50226001)(33646002)(106356001)(46102003)(19580405001)(92566002)(101416001)(229853001)(76176999)(42186005)(48376002)(5007970100001)(78352002)(81156007)(66066001)(77096005)(76506005)(105586002)(5001920100001)(2950100001)(107886002)(40100003)(36756003)(5008740100001)(50466002)(122386002)(5003940100001)(5001960100002)(97736004)(4001430100001); DIR:OUT; SFP:1102; SCL:1; SRVR:TY1PR06MB0925; H:localhost; FPR:; SPF:None; PTR:InfoNoRecords; A:0; MX:0; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; TY1PR06MB0925; 23:bZoiKbClGsu0tMBYlvUKqtWEB+ey782oSFmrYCtLV?= =?us-ascii?Q?W/g9JRm9uWnQyy1qqpj+aHnI+d6+UquHX6nDkvOaEwWHYJNlZ7bljSvwpEd3?= =?us-ascii?Q?CIZfrsPQ6vCdCCskT7WM5+IkOt9QjijqekUCB+AhGXuLglJ1NunwH0s0F60B?= =?us-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6Xsh9d25IPFUQoX3voBji1zD?= =?us-ascii?Q?37D/19IPQbXnMmnk9/5ykMS+rD7KGlVFjLv87n6xKwm3vSacfCw/PeU+FBZw?= =?us-ascii?Q?CVimSnNnmlD8fW8pFxHLdRHXrN0A5h8+k8sdcZeQZRRvqRjcF4xLMd716TpZ?= =?us-ascii?Q?CYlq33COVesSNE=3D?= X-Microsoft-Exchange-Diagnostics: 1; TY1PR06MB0925; 5:OiDkwIwwKe18DF3RKI3gXr8hF+i50ZiRhdnviAEvyiSTm/jan286SVEQfn4JxoeZFNAbREecZiyMScFqmIWUtQbmNEZJ6yzNNhVnfErx24q/I08J62MHV0xTveqCNKWXGDrxFsgtIgowH+XtBd4rUQ==; 24:5JSMr4PvOxGBl3Gp3KAztwQ0a/5ZDakG3ZoGsktnw2ca/2tN8mUHPvwDdmZ8aba3ep5WUdeMkYno5RqyfFagWD43vYMRS6ycj2fNs1bjZwE=; 20:Vr1w/RTa/gBZ3l80jMOui78nBDB92lFonNpkwQ7njXLNctDZr3sW1Rsn5sQNx1tBlKBODPWcvw+hJX5INCUYvs92VinNMhwaqUbshy/jidFZ8vhJmGSAH9HtA6H5iMSeRQFWigdb34rEobfkvdQ7I2Y71HnVMZDbSmo89IAZy2Q= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Oct 2015 11:39:26.3445 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: TY1PR06MB0925 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=AXB_X_OUTLOOKPROT_ENVSDR, BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds a member "firmware_name" in struct xhci_plat_priv to simplify the code to match specific firmware name. Signed-off-by: Yoshihiro Shimoda --- drivers/usb/host/xhci-plat.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/host/xhci-plat.h b/drivers/usb/host/xhci-plat.h index 4479869..20b32a7 100644 --- a/drivers/usb/host/xhci-plat.h +++ b/drivers/usb/host/xhci-plat.h @@ -20,6 +20,7 @@ enum xhci_plat_type { struct xhci_plat_priv { enum xhci_plat_type type; + const char *firmware_name; }; #define hcd_to_xhci_priv(h) ((struct xhci_plat_priv *)hcd_to_xhci(h)->priv)