X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=drivers%2Fata%2Fpata_ns87415.c;h=8e7f37e5382203e755a5b98454238b7b3a7dae6b;hb=52839bfb0c4b56b5c2688c96ce656df4034b2c87;hp=16dc3a63a23d5f763b28c92d7fcc9170d0e2320e;hpb=3711d86a2de17e967b576af8b8a1e9351a7d1466;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git diff --git a/drivers/ata/pata_ns87415.c b/drivers/ata/pata_ns87415.c index 16dc3a6..8e7f37e 100644 --- a/drivers/ata/pata_ns87415.c +++ b/drivers/ata/pata_ns87415.c @@ -386,7 +386,7 @@ static const struct pci_device_id ns87415_pci_tbl[] = { { } /* terminate list */ }; -#ifdef CONFIG_PM +#ifdef CONFIG_PM_SLEEP static int ns87415_reinit_one(struct pci_dev *pdev) { struct ata_host *host = pci_get_drvdata(pdev); @@ -408,7 +408,7 @@ static struct pci_driver ns87415_pci_driver = { .id_table = ns87415_pci_tbl, .probe = ns87415_init_one, .remove = ata_pci_remove_one, -#ifdef CONFIG_PM +#ifdef CONFIG_PM_SLEEP .suspend = ata_pci_device_suspend, .resume = ns87415_reinit_one, #endif