Commit df690c02 authored by David S. Miller's avatar David S. Miller

[UHCI]: io_addr should be unsigned long.

parent 2306d23f
...@@ -2074,7 +2074,7 @@ static int __devinit uhci_start(struct usb_hcd *hcd) ...@@ -2074,7 +2074,7 @@ static int __devinit uhci_start(struct usb_hcd *hcd)
struct proc_dir_entry *ent; struct proc_dir_entry *ent;
#endif #endif
uhci->io_addr = (unsigned) hcd->regs; uhci->io_addr = (unsigned long) hcd->regs;
io_size = pci_resource_len(hcd->pdev, hcd->region); io_size = pci_resource_len(hcd->pdev, hcd->region);
#ifdef CONFIG_PROC_FS #ifdef CONFIG_PROC_FS
......
...@@ -299,7 +299,7 @@ struct uhci_hcd { ...@@ -299,7 +299,7 @@ struct uhci_hcd {
#endif #endif
/* Grabbed from PCI */ /* Grabbed from PCI */
unsigned int io_addr; unsigned long io_addr;
struct pci_pool *qh_pool; struct pci_pool *qh_pool;
struct pci_pool *td_pool; struct pci_pool *td_pool;
......
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