Merge branch 'staging-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh...
[~shefty/rdma-dev.git] / drivers / staging / bcm / InterfaceInit.c
index 082b5e5c01e8ad16d8aefcaeb3692b3080e2522d..d78d5ef1f298c66a3cd4e580ead618389e094709 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);