]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/usb/host/ehci.h
dm: usb: Pass EHCI controller pointer to ehci_set_usbmode()
[karo-tx-uboot.git] / drivers / usb / host / ehci.h
index a00c7e78bdf5fd5217984df8ca17e789ccc61d65..164b3cb4c7925abdc00610c557b51f0873bcf878 100644 (file)
@@ -253,7 +253,7 @@ struct ehci_ctrl {
 
 /* Weak functions that drivers can override */
 int ehci_get_port_speed(struct ehci_ctrl *ctrl, uint32_t reg);
-void ehci_set_usbmode(int index);
+void ehci_set_usbmode(struct ehci_ctrl *ctrl);
 void ehci_powerup_fixup(struct ehci_ctrl *ctrl, uint32_t *status_reg,
                        uint32_t *reg);
 uint32_t *ehci_get_portsc_register(struct ehci_hcor *hcor, int port);