diff options
Diffstat (limited to 'drivers/usb/host/ohci.h')
-rw-r--r-- | drivers/usb/host/ohci.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/usb/host/ohci.h b/drivers/usb/host/ohci.h index faf622eafce7..222011f6172c 100644 --- a/drivers/usb/host/ohci.h +++ b/drivers/usb/host/ohci.h | |||
@@ -540,15 +540,7 @@ static inline struct usb_hcd *ohci_to_hcd (const struct ohci_hcd *ohci) | |||
540 | * Big-endian read/write functions are arch-specific. | 540 | * Big-endian read/write functions are arch-specific. |
541 | * Other arches can be added if/when they're needed. | 541 | * Other arches can be added if/when they're needed. |
542 | * | 542 | * |
543 | * REVISIT: arch/powerpc now has readl/writel_be, so the | ||
544 | * definition below can die once the STB04xxx support is | ||
545 | * finally ported over. | ||
546 | */ | 543 | */ |
547 | #if defined(CONFIG_PPC) && !defined(CONFIG_PPC_MERGE) | ||
548 | #define readl_be(addr) in_be32((__force unsigned *)addr) | ||
549 | #define writel_be(val, addr) out_be32((__force unsigned *)addr, val) | ||
550 | #endif | ||
551 | |||
552 | static inline unsigned int _ohci_readl (const struct ohci_hcd *ohci, | 544 | static inline unsigned int _ohci_readl (const struct ohci_hcd *ohci, |
553 | __hc32 __iomem * regs) | 545 | __hc32 __iomem * regs) |
554 | { | 546 | { |