b43: N-PHY: final fixes to rev7+ workarounds
[cascardo/linux.git] / drivers / ata / pata_bf54x.c
index ba0d8a2..03f2f2b 100644 (file)
@@ -1619,7 +1619,7 @@ static int bfin_atapi_remove(struct platform_device *pdev)
        return 0;
 }
 
-#ifdef CONFIG_PM
+#ifdef CONFIG_PM_SLEEP
 static int bfin_atapi_suspend(struct platform_device *pdev, pm_message_t state)
 {
        struct ata_host *host = platform_get_drvdata(pdev);