projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
USB: EHCI: adjust error return code
[cascardo/linux.git]
/
drivers
/
usb
/
host
/
ehci.h
diff --git
a/drivers/usb/host/ehci.h
b/drivers/usb/host/ehci.h
index
eee228a
..
6f0577b
100644
(file)
--- a/
drivers/usb/host/ehci.h
+++ b/
drivers/usb/host/ehci.h
@@
-859,6
+859,8
@@
static inline u32 hc32_to_cpup (const struct ehci_hcd *ehci, const __hc32 *x)
struct ehci_driver_overrides {
size_t extra_priv_size;
int (*reset)(struct usb_hcd *hcd);
+ int (*port_power)(struct usb_hcd *hcd,
+ int portnum, bool enable);
};
extern void ehci_init_driver(struct hc_driver *drv,