aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ohci.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host/ohci.h')
-rw-r--r--drivers/usb/host/ohci.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/usb/host/ohci.h b/drivers/usb/host/ohci.h
index 0dafcda37291..c2b5ecfe5e9f 100644
--- a/drivers/usb/host/ohci.h
+++ b/drivers/usb/host/ohci.h
@@ -507,10 +507,10 @@ static inline unsigned int _ohci_readl (const struct ohci_hcd *ohci,
507{ 507{
508#ifdef CONFIG_USB_OHCI_BIG_ENDIAN_MMIO 508#ifdef CONFIG_USB_OHCI_BIG_ENDIAN_MMIO
509 return big_endian_mmio(ohci) ? 509 return big_endian_mmio(ohci) ?
510 readl_be ((__force u32 *)regs) : 510 readl_be (regs) :
511 readl ((__force u32 *)regs); 511 readl (regs);
512#else 512#else
513 return readl ((__force u32 *)regs); 513 return readl (regs);
514#endif 514#endif
515} 515}
516 516
@@ -519,10 +519,10 @@ static inline void _ohci_writel (const struct ohci_hcd *ohci,
519{ 519{
520#ifdef CONFIG_USB_OHCI_BIG_ENDIAN_MMIO 520#ifdef CONFIG_USB_OHCI_BIG_ENDIAN_MMIO
521 big_endian_mmio(ohci) ? 521 big_endian_mmio(ohci) ?
522 writel_be (val, (__force u32 *)regs) : 522 writel_be (val, regs) :
523 writel (val, (__force u32 *)regs); 523 writel (val, regs);
524#else 524#else
525 writel (val, (__force u32 *)regs); 525 writel (val, regs);
526#endif 526#endif
527} 527}
528 528