Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/bcopeland...
[pandora-kernel.git] / drivers / net / sky2.c
index 7d85a38..2a91868 100644 (file)
@@ -4983,7 +4983,7 @@ static int sky2_suspend(struct device *dev)
        return 0;
 }
 
-#ifdef CONFIG_PM
+#ifdef CONFIG_PM_SLEEP
 static int sky2_resume(struct device *dev)
 {
        struct pci_dev *pdev = to_pci_dev(dev);