[PATCH] fix compile error in usb-ohci.c

Paul Mackerras (paulus@samba.org)
Sat, 7 Jul 2001 12:28:35 +1000 (EST)


The following patch fixes a trivial error in drivers/usb/usb-ohci.c,
where a missing argument to ohci_pci_suspend will cause a compile
error if you have powerbook support enabled.

Linus, please apply.

Paul.

diff -urN linux/drivers/usb/usb-ohci.c pmac/drivers/usb/usb-ohci.c
--- linux/drivers/usb/usb-ohci.c Wed Jul 4 14:33:36 2001
+++ pmac/drivers/usb/usb-ohci.c Fri Jul 6 16:20:58 2001
@@ -2749,7 +2749,7 @@

switch (when) {
case PBOOK_SLEEP_NOW:
- ohci_pci_suspend (ohci->ohci_dev);
+ ohci_pci_suspend (ohci->ohci_dev, 3);
break;
case PBOOK_WAKE:
ohci_pci_resume (ohci->ohci_dev);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/