diff options
Diffstat (limited to 'drivers/usb/host/ohci.h')
-rw-r--r-- | drivers/usb/host/ohci.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/usb/host/ohci.h b/drivers/usb/host/ohci.h index bad11a72c202..35e5fd640ce7 100644 --- a/drivers/usb/host/ohci.h +++ b/drivers/usb/host/ohci.h | |||
@@ -575,18 +575,8 @@ static inline void _ohci_writel (const struct ohci_hcd *ohci, | |||
575 | #endif | 575 | #endif |
576 | } | 576 | } |
577 | 577 | ||
578 | #ifdef CONFIG_ARCH_LH7A404 | ||
579 | /* Marc Singer: at the time this code was written, the LH7A404 | ||
580 | * had a problem reading the USB host registers. This | ||
581 | * implementation of the ohci_readl function performs the read | ||
582 | * twice as a work-around. | ||
583 | */ | ||
584 | #define ohci_readl(o,r) (_ohci_readl(o,r),_ohci_readl(o,r)) | ||
585 | #define ohci_writel(o,v,r) _ohci_writel(o,v,r) | ||
586 | #else | ||
587 | #define ohci_readl(o,r) _ohci_readl(o,r) | 578 | #define ohci_readl(o,r) _ohci_readl(o,r) |
588 | #define ohci_writel(o,v,r) _ohci_writel(o,v,r) | 579 | #define ohci_writel(o,v,r) _ohci_writel(o,v,r) |
589 | #endif | ||
590 | 580 | ||
591 | 581 | ||
592 | /*-------------------------------------------------------------------------*/ | 582 | /*-------------------------------------------------------------------------*/ |