usb: xhci: avoid warning for !PM_SLEEP
[pandora-kernel.git] / drivers / usb / host / xhci-plat.c
index 0f5f4c8..39c3673 100644 (file)
@@ -234,7 +234,7 @@ static int xhci_plat_remove(struct platform_device *dev)
        return 0;
 }
 
-#ifdef CONFIG_PM
+#ifdef CONFIG_PM_SLEEP
 static int xhci_plat_suspend(struct device *dev)
 {
        struct usb_hcd  *hcd = dev_get_drvdata(dev);