projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b707c13
)
usb: xhci-mtk: use clear type instead of void
author
Chunfeng Yun
<chunfeng.yun@mediatek.com>
Mon, 8 Mar 2021 02:51:58 +0000
(10:51 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 10 Mar 2021 08:37:17 +0000
(09:37 +0100)
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>
drivers/usb/host/xhci-mtk.h
patch
|
blob
|
history
diff --git
a/drivers/usb/host/xhci-mtk.h
b/drivers/usb/host/xhci-mtk.h
index f61e53b02706029f496123c4a5d86be7ba0478e6..076b9bbc89ddd47991886d8a45d522bfb7222ef1 100644
(file)
--- 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