Commit f6ab701a authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

USB: fix hcd-pci's __iomem warnings

Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
parent cd1f7667
......@@ -65,7 +65,7 @@ int usb_hcd_pci_probe (struct pci_dev *dev, const struct pci_device_id *id)
{
struct hc_driver *driver;
unsigned long resource, len;
void *base;
void __iomem *base;
struct usb_hcd *hcd;
int retval, region;
char buf [8], *bufp = buf;
......@@ -121,7 +121,7 @@ int usb_hcd_pci_probe (struct pci_dev *dev, const struct pci_device_id *id)
dev_dbg (&dev->dev, "no i/o regions available\n");
return -EBUSY;
}
base = (void *) resource;
base = (void __iomem *) resource;
}
// driver->reset(), later on, will transfer device from
......
......@@ -76,7 +76,7 @@ struct usb_hcd { /* usb_bus.hcpriv points to this */
unsigned can_wakeup:1; /* hw supports wakeup? */
unsigned remote_wakeup:1;/* sw should use wakeup? */
int irq; /* irq allocated */
void *regs; /* device memory/io */
void __iomem *regs; /* device memory/io */
#ifdef CONFIG_PCI
int region; /* pci region for regs */
......
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