From: Stefan Roese Date: Fri, 26 Nov 2010 14:43:44 +0000 (+0100) Subject: usb: Remove usb_dev_init() from ehci-ppc4xx.c X-Git-Tag: v2010.12-rc2~41^2^2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a42a9d71b58a789d3c4a1fbfbf400f65699a2689;p=oweals%2Fu-boot.git usb: Remove usb_dev_init() from ehci-ppc4xx.c Calling usb_dev_init() from within the EHCI host driver is wrong. The EHCI host driver should have no dependency/interconnection to the USB device driver. Signed-off-by: Stefan Roese Cc: Remy Bohmer --- diff --git a/drivers/usb/host/ehci-ppc4xx.c b/drivers/usb/host/ehci-ppc4xx.c index 946a0a07ef..1179919987 100644 --- a/drivers/usb/host/ehci-ppc4xx.c +++ b/drivers/usb/host/ehci-ppc4xx.c @@ -34,7 +34,6 @@ int ehci_hcd_init(void) hccr = (struct ehci_hccr *)(CONFIG_SYS_PPC4XX_USB_ADDR); hcor = (struct ehci_hcor *)((uint32_t) hccr + HC_LENGTH(ehci_readl(&hccr->cr_capbase))); - usb_dev_init(); return 0; }