Merge branch 'staging-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh...
[pandora-kernel.git] / drivers / staging / bcm / InterfaceInit.c
index 082b5e5..d78d5ef 100644 (file)
@@ -237,7 +237,7 @@ usbbcm_device_probe(struct usb_interface *intf, const struct usb_device_id *id)
                /* If Suspend then only support dynamic suspend */
                if (psAdapter->bDoSuspend) {
 #ifdef CONFIG_PM
-                       udev->autosuspend_delay = 0;
+                       pm_runtime_set_autosuspend_delay(&udev->dev, 0);
                        intf->needs_remote_wakeup = 1;
                        usb_enable_autosuspend(udev);
                        device_init_wakeup(&intf->dev, 1);