Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1857743pxb; Fri, 5 Mar 2021 01:05:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJzSqe71ES8CFq+pfhR7xaTUF+Vv/UduJ/hiRBOqr9IyCFWYt2em0vNaygQRSo1775KLhs0T X-Received: by 2002:a17:906:add7:: with SMTP id lb23mr1375119ejb.273.1614935101436; Fri, 05 Mar 2021 01:05:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614935101; cv=none; d=google.com; s=arc-20160816; b=Qhl8moijZYWmvFHjJelhkcdvjO4YOg8X4QsefbtB1KcG0btLcyUcAy6hsArQnoSkmN AmxSRXUYeGlfzVrsikGq0Jdv6mE7UJrA3PgLE2pf8Zu1lkUNAZXOVlw7kfXj9zhaie4H YCOpCmQHuEBhaoXlVqQ1PV+15mSZg8GWyKkDsy/HxTHT+uNqnPKlpDlINfigLmS+wT18 LxV/lRQVpbyynDO90XQaoQPaZ0xQuM2xN7U1B8zYozP87q7HoYQW3NSuQ92eIsLbo4Jd NeaNVepj0AEhdyotbR2b3XhNVWMnJadj02jlRD92t7dev7kCYamR5rLdPdyKklp6Ky7A 8L8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=+mdkGbwYSDkAVV0DBdXL/v6gS/9aqdtnH1pxmSuYOvU=; b=01/Q97Nh2GF0c5EIBb4E29h8c9FunC0r7HscHl9dlucv/q5KvMElZeNAycLo7rg2D1 jwER6j3qILgxJPp5PBr8UwEv0Bg5IfwD3sezgLlEjIiLpE3omPTzsF527gzBbYj0li7h d6UoljiCtfVgPGksRz83xRHiQp7OxySlIIKM7Rox+tTlUeOwED91EUOhoYHaZ5DGhWw6 89mOjioZJZwtsA7e6/3+esQdfL7G+e3qOQJPMJ/A4EmcjVbXJevoEWhIkLWckVDMiBws z6qOhapmcFv+ZSAnE7u3kCNUrhCx8qdlPmGVWw30XJwk10sx7YePROQArhqqpi1YHadB K95Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id zm17si1037843ejb.174.2021.03.05.01.04.38; Fri, 05 Mar 2021 01:05:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229938AbhCEJDk (ORCPT + 99 others); Fri, 5 Mar 2021 04:03:40 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:59053 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S229719AbhCEJD0 (ORCPT ); Fri, 5 Mar 2021 04:03:26 -0500 X-UUID: 873af41d8a5e4e2792e0800a4a78b1e6-20210305 X-UUID: 873af41d8a5e4e2792e0800a4a78b1e6-20210305 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.14 Build 0819 with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 752000268; Fri, 05 Mar 2021 17:03:23 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs06n1.mediatek.inc (172.21.101.129) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 5 Mar 2021 17:03:21 +0800 Received: from localhost.localdomain (10.17.3.153) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 5 Mar 2021 17:03:20 +0800 From: Chunfeng Yun To: Mathias Nyman , Greg Kroah-Hartman , Ikjoon Jang CC: Chunfeng Yun , Matthias Brugger , , , , , Nicolas Boichat , Eddie Hung Subject: [PATCH 09/17] usb: xhci-mtk: use clear type instead of void Date: Fri, 5 Mar 2021 17:02:47 +0800 Message-ID: <1614934975-15188-9-git-send-email-chunfeng.yun@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty In-Reply-To: <1614934975-15188-1-git-send-email-chunfeng.yun@mediatek.com> References: <1614934975-15188-1-git-send-email-chunfeng.yun@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use struct usb_host_endpoint instead of void to declare the member @ep of mu3h_sch_ep_info struct. Signed-off-by: Chunfeng Yun --- drivers/usb/host/xhci-mtk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/host/xhci-mtk.h b/drivers/usb/host/xhci-mtk.h index f61e53b02706..076b9bbc89dd 100644 --- a/drivers/usb/host/xhci-mtk.h +++ b/drivers/usb/host/xhci-mtk.h @@ -84,7 +84,7 @@ struct mu3h_sch_ep_info { struct mu3h_sch_tt *sch_tt; u32 ep_type; u32 maxpkt; - void *ep; + struct usb_host_endpoint *ep; bool allocated; /* * mtk xHCI scheduling information put into reserved DWs -- 2.18.0