Commit dd905a64 authored by Linus Torvalds's avatar Linus Torvalds

usb: remove totally bogus OHCI iomem casts

The __iomem attribute was correctly set, and trying to
remove it just causes more problems.
parent ebf0da20
...@@ -493,14 +493,14 @@ ohci_readl (const struct ohci_hcd *ohci, const __hc32 *regs) ...@@ -493,14 +493,14 @@ ohci_readl (const struct ohci_hcd *ohci, const __hc32 *regs)
static inline unsigned int static inline unsigned int
ohci_readl (const struct ohci_hcd *ohci, __hc32 __iomem * regs) ohci_readl (const struct ohci_hcd *ohci, __hc32 __iomem * regs)
{ {
return readl ((__force u32 *)regs); return readl(regs);
} }
#endif #endif
static inline void ohci_writel (const struct ohci_hcd *ohci, static inline void ohci_writel (const struct ohci_hcd *ohci,
const unsigned int val, __hc32 __iomem *regs) const unsigned int val, __hc32 __iomem *regs)
{ {
writel (val, (__force u32 *)regs); writel (val, regs);
} }
#endif /* !CONFIG_USB_OHCI_BIG_ENDIAN */ #endif /* !CONFIG_USB_OHCI_BIG_ENDIAN */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment