]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/usb/core/port.c
Merge branch 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild
[karo-tx-linux.git] / drivers / usb / core / port.c
index 460c855be0d020bd21d3cc024d0a33d705b0d59d..14718a9ffcfb18d398f8ab5ae2cb3df99d4994db 100644 (file)
@@ -249,12 +249,18 @@ static int usb_port_runtime_suspend(struct device *dev)
 
        return retval;
 }
+
+static int usb_port_prepare(struct device *dev)
+{
+       return 1;
+}
 #endif
 
 static const struct dev_pm_ops usb_port_pm_ops = {
 #ifdef CONFIG_PM
        .runtime_suspend =      usb_port_runtime_suspend,
        .runtime_resume =       usb_port_runtime_resume,
+       .prepare =              usb_port_prepare,
 #endif
 };