X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=drivers%2Fata%2Fpata_triflex.c;h=20b4dd7be8fb87b61dab66d52a64518afaa639c0;hb=52839bfb0c4b56b5c2688c96ce656df4034b2c87;hp=94473da68c02d9664906f8c5c82a0f395d881d63;hpb=7728f036adb25f8f7f8e36ffa9cecf6ba3ddae91;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git diff --git a/drivers/ata/pata_triflex.c b/drivers/ata/pata_triflex.c index 94473da..20b4dd7 100644 --- a/drivers/ata/pata_triflex.c +++ b/drivers/ata/pata_triflex.c @@ -208,7 +208,7 @@ static const struct pci_device_id triflex[] = { { }, }; -#ifdef CONFIG_PM +#ifdef CONFIG_PM_SLEEP static int triflex_ata_pci_device_suspend(struct pci_dev *pdev, pm_message_t mesg) { struct ata_host *host = pci_get_drvdata(pdev); @@ -234,7 +234,7 @@ static struct pci_driver triflex_pci_driver = { .id_table = triflex, .probe = triflex_init_one, .remove = ata_pci_remove_one, -#ifdef CONFIG_PM +#ifdef CONFIG_PM_SLEEP .suspend = triflex_ata_pci_device_suspend, .resume = ata_pci_device_resume, #endif