USB OHCI powerbook fix (v2.5.4)
PATCH 1/1 USB OHCI powerbook fix (v2.5.4)
The patch below fixes a compile problem in the USB OHCI HCD driver on powerbooks, namely that the ohci_hcd structure doesn't have an irq member.
Paul.
drivers/usb/hcd/ohci-hcd.c +2 -2
@@ -662,7 +662,7 @@#ifdef CONFIG_PMAC_PBOOK if (_machine == _MACH_Pmac) -disable_irq (ohci->irq); +disable_irq (hcd->pdev->irq);/* else, 2.4 assumes shared irqs -- don't disable */ #endif
@@ -836,7 +836,7 @@#ifdef CONFIG_PMAC_PBOOK if (_machine == _MACH_Pmac) -enable_irq (ohci->irq); +enable_irq (hcd->pdev->irq);#endif if (ohci->hcca->done_head)dl_done_list (ohci,dl_reverse_done_list (ohci));