From dcc31dd9c428c80dd2b86feb871b50bf1c26ce12 Mon Sep 17 00:00:00 2001 From: Alexey Dobriyan Date: Fri, 11 Aug 2006 16:46:14 -0700 Subject: [PATCH] --- yaml --- r: 37287 b: refs/heads/master c: 2a874182842c6a70f245b7f1ad859f9152517951 h: refs/heads/master i: 37285: 9e56733febf27f03c1abeaecced80b6163d96be8 37283: f2b413ceba36a041dc0a1acccf07cdd93aab4469 37279: 6224c0e002da725a6df42ea48d9f53fc54eabdb0 v: v3 --- [refs] | 2 +- trunk/drivers/ieee1394/ohci1394.c | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 0ac41347eab7..b9f54e2ab82a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 611aa19fd60fe57059d9972fa6ae29f7472a13cf +refs/heads/master: 2a874182842c6a70f245b7f1ad859f9152517951 diff --git a/trunk/drivers/ieee1394/ohci1394.c b/trunk/drivers/ieee1394/ohci1394.c index ea14c831ff41..9890ab73bb5f 100644 --- a/trunk/drivers/ieee1394/ohci1394.c +++ b/trunk/drivers/ieee1394/ohci1394.c @@ -3530,7 +3530,7 @@ static void ohci1394_pci_remove(struct pci_dev *pdev) put_device(dev); } - +#ifdef CONFIG_PM static int ohci1394_pci_resume (struct pci_dev *pdev) { #ifdef CONFIG_PPC_PMAC @@ -3568,7 +3568,7 @@ static int ohci1394_pci_suspend (struct pci_dev *pdev, pm_message_t state) return 0; } - +#endif #define PCI_CLASS_FIREWIRE_OHCI ((PCI_CLASS_SERIAL_FIREWIRE << 8) | 0x10) @@ -3591,8 +3591,10 @@ static struct pci_driver ohci1394_pci_driver = { .id_table = ohci1394_pci_tbl, .probe = ohci1394_pci_probe, .remove = ohci1394_pci_remove, +#ifdef CONFIG_PM .resume = ohci1394_pci_resume, .suspend = ohci1394_pci_suspend, +#endif }; /***********************************