diff options
Diffstat (limited to 'drivers/usb/host/ehci.h')
-rw-r--r-- | drivers/usb/host/ehci.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/usb/host/ehci.h b/drivers/usb/host/ehci.h index ec0da0343be4..46fa57a520d0 100644 --- a/drivers/usb/host/ehci.h +++ b/drivers/usb/host/ehci.h | |||
@@ -677,10 +677,10 @@ static inline unsigned int ehci_readl (const struct ehci_hcd *ehci, | |||
677 | { | 677 | { |
678 | #ifdef CONFIG_USB_EHCI_BIG_ENDIAN_MMIO | 678 | #ifdef CONFIG_USB_EHCI_BIG_ENDIAN_MMIO |
679 | return ehci_big_endian_mmio(ehci) ? | 679 | return ehci_big_endian_mmio(ehci) ? |
680 | readl_be((__force u32 *)regs) : | 680 | readl_be(regs) : |
681 | readl((__force u32 *)regs); | 681 | readl(regs); |
682 | #else | 682 | #else |
683 | return readl((__force u32 *)regs); | 683 | return readl(regs); |
684 | #endif | 684 | #endif |
685 | } | 685 | } |
686 | 686 | ||
@@ -689,10 +689,10 @@ static inline void ehci_writel (const struct ehci_hcd *ehci, | |||
689 | { | 689 | { |
690 | #ifdef CONFIG_USB_EHCI_BIG_ENDIAN_MMIO | 690 | #ifdef CONFIG_USB_EHCI_BIG_ENDIAN_MMIO |
691 | ehci_big_endian_mmio(ehci) ? | 691 | ehci_big_endian_mmio(ehci) ? |
692 | writel_be(val, (__force u32 *)regs) : | 692 | writel_be(val, regs) : |
693 | writel(val, (__force u32 *)regs); | 693 | writel(val, regs); |
694 | #else | 694 | #else |
695 | writel(val, (__force u32 *)regs); | 695 | writel(val, regs); |
696 | #endif | 696 | #endif |
697 | } | 697 | } |
698 | 698 | ||