patch-2.4.6 linux/drivers/usb/usb-uhci.c
Next file: linux/drivers/usb/usb.c
Previous file: linux/drivers/usb/usb-ohci.h
Back to the patch index
Back to the overall index
- Lines: 32
- Date:
Wed Jun 27 13:15:17 2001
- Orig file:
v2.4.5/linux/drivers/usb/usb-uhci.c
- Orig date:
Mon May 21 15:02:06 2001
diff -u --recursive --new-file v2.4.5/linux/drivers/usb/usb-uhci.c linux/drivers/usb/usb-uhci.c
@@ -2897,16 +2897,18 @@
}
#ifdef CONFIG_PM
-_static void
-uhci_pci_suspend (struct pci_dev *dev)
+_static int
+uhci_pci_suspend (struct pci_dev *dev, u32 state)
{
reset_hc((uhci_t *) dev->driver_data);
+ return 0;
}
-_static void
+_static int
uhci_pci_resume (struct pci_dev *dev)
{
start_hc((uhci_t *) dev->driver_data);
+ return 0;
}
#endif
@@ -3108,8 +3110,7 @@
}
#endif
- info(DRIVER_VERSION " " DRIVER_AUTHOR);
- info(DRIVER_DESC);
+ info(DRIVER_VERSION ":" DRIVER_DESC);
return retval;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)