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

From: Paul Mackerras (paulus@samba.org)
Date: Fri Jul 06 2001 - 21:28:35 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/



This archive was generated by hypermail 2b29 : Sat Jul 07 2001 - 21:00:19 EST