aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_triflex.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/pata_triflex.c')
-rw-r--r--drivers/ata/pata_triflex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/pata_triflex.c b/drivers/ata/pata_triflex.c
index 7bc78e264f9e..d9364af8eb63 100644
--- a/drivers/ata/pata_triflex.c
+++ b/drivers/ata/pata_triflex.c
@@ -207,7 +207,7 @@ static const struct pci_device_id triflex[] = {
207 { }, 207 { },
208}; 208};
209 209
210#ifdef CONFIG_PM 210#ifdef CONFIG_PM_SLEEP
211static int triflex_ata_pci_device_suspend(struct pci_dev *pdev, pm_message_t mesg) 211static int triflex_ata_pci_device_suspend(struct pci_dev *pdev, pm_message_t mesg)
212{ 212{
213 struct ata_host *host = pci_get_drvdata(pdev); 213 struct ata_host *host = pci_get_drvdata(pdev);
@@ -233,7 +233,7 @@ static struct pci_driver triflex_pci_driver = {
233 .id_table = triflex, 233 .id_table = triflex,
234 .probe = triflex_init_one, 234 .probe = triflex_init_one,
235 .remove = ata_pci_remove_one, 235 .remove = ata_pci_remove_one,
236#ifdef CONFIG_PM 236#ifdef CONFIG_PM_SLEEP
237 .suspend = triflex_ata_pci_device_suspend, 237 .suspend = triflex_ata_pci_device_suspend,
238 .resume = ata_pci_device_resume, 238 .resume = ata_pci_device_resume,
239#endif 239#endif