projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2dc240a
)
usb: xhci: plat: add ->plat_start() and ->init_quirk() methods
author
Felipe Balbi
<
[email protected]
>
Fri, 22 Apr 2016 10:17:13 +0000
(13:17 +0300)
committer
Greg Kroah-Hartman
<
[email protected]
>
Tue, 26 Apr 2016 23:08:02 +0000
(16:08 -0700)
these two methods will be used to hide
platform-specific details so we can get rid of
xhci_plat_type_is() in a later patch.
Acked-by: Yoshihiro Shimoda <
[email protected]
>
Signed-off-by: Felipe Balbi <
[email protected]
>
Signed-off-by: Mathias Nyman <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/usb/host/xhci-plat.h
patch
|
blob
|
history
diff --git
a/drivers/usb/host/xhci-plat.h
b/drivers/usb/host/xhci-plat.h
index 529c3c40f901df69250cc7d05502bb41177fa329..3cc9b2208683aca2af021835acf1b131279fb513 100644
(file)
--- a/
drivers/usb/host/xhci-plat.h
+++ b/
drivers/usb/host/xhci-plat.h
@@
-22,6
+22,8
@@
enum xhci_plat_type {
struct xhci_plat_priv {
enum xhci_plat_type type;
const char *firmware_name;
+ void (*plat_start)(struct usb_hcd *);
+ int (*init_quirk)(struct usb_hcd *);
};
#define hcd_to_xhci_priv(h) ((struct xhci_plat_priv *)hcd_to_xhci(h)->priv)