summaryrefslogtreecommitdiff
path: root/drivers/usb/host/xhci-mtk.h
diff options
context:
space:
mode:
authorChunfeng Yun <chunfeng.yun@mediatek.com>2021-03-08 05:51:58 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-03-10 11:37:17 +0300
commit9132799d4ae0ce1f137c6bf21f13cd319fd11703 (patch)
treeeac7515501854fb668b06218b1914efff086b3be /drivers/usb/host/xhci-mtk.h
parentb707c13f98233e91ab46e89563ff5abf7813967f (diff)
downloadlinux-9132799d4ae0ce1f137c6bf21f13cd319fd11703.tar.xz
usb: xhci-mtk: use clear type instead of void
Use struct usb_host_endpoint instead of void to declare the member @ep of mu3h_sch_ep_info struct. Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com> Link: https://lore.kernel.org/r/e9790eb4b959f9f843433fa5048c76772cc59061.1615170625.git.chunfeng.yun@mediatek.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/xhci-mtk.h')
-rw-r--r--drivers/usb/host/xhci-mtk.h2
1 files changed, 1 insertions, 1 deletions
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