X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=drivers%2Fata%2Fpata_cmd64x.c;h=da6fc054aecdabb499f86c5138bf6d6bfca6f7b2;hb=52839bfb0c4b56b5c2688c96ce656df4034b2c87;hp=1275a8d4dedc06940cbce5660d24136d27aea0ef;hpb=96d4e231d25e3d7d8b7a2a9267043eac5d4560a8;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git diff --git a/drivers/ata/pata_cmd64x.c b/drivers/ata/pata_cmd64x.c index 1275a8d..da6fc05 100644 --- a/drivers/ata/pata_cmd64x.c +++ b/drivers/ata/pata_cmd64x.c @@ -488,7 +488,7 @@ static int cmd64x_init_one(struct pci_dev *pdev, const struct pci_device_id *id) return ata_pci_bmdma_init_one(pdev, ppi, &cmd64x_sht, NULL, 0); } -#ifdef CONFIG_PM +#ifdef CONFIG_PM_SLEEP static int cmd64x_reinit_one(struct pci_dev *pdev) { struct ata_host *host = pci_get_drvdata(pdev); @@ -519,7 +519,7 @@ static struct pci_driver cmd64x_pci_driver = { .id_table = cmd64x, .probe = cmd64x_init_one, .remove = ata_pci_remove_one, -#ifdef CONFIG_PM +#ifdef CONFIG_PM_SLEEP .suspend = ata_pci_device_suspend, .resume = cmd64x_reinit_one, #endif