aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2006-12-26 05:39:50 -0500
committerJeff Garzik <jeff@garzik.org>2007-02-09 17:39:30 -0500
commit553c4aa630af7bc885e056d0436e4eb7f238579b (patch)
tree5a6cf3b15e05309fcfbdb5f68471e2a20b235613 /include
parent8bfa79fcb81d2bdb043f60ab4171704467808b55 (diff)
libata: handle pci_enable_device() failure while resuming
Handle pci_enable_device() failure while resuming. This patch kills the "ignoring return value of 'pci_enable_device'" warning message and propagates __must_check through ata_pci_device_do_resume(). Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/libata.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h
index dab4dc505ce7..a8ecaaad55ff 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -716,7 +716,7 @@ extern int ata_pci_init_one (struct pci_dev *pdev, struct ata_port_info **port_i
716 unsigned int n_ports); 716 unsigned int n_ports);
717extern void ata_pci_remove_one (struct pci_dev *pdev); 717extern void ata_pci_remove_one (struct pci_dev *pdev);
718extern void ata_pci_device_do_suspend(struct pci_dev *pdev, pm_message_t mesg); 718extern void ata_pci_device_do_suspend(struct pci_dev *pdev, pm_message_t mesg);
719extern void ata_pci_device_do_resume(struct pci_dev *pdev); 719extern int __must_check ata_pci_device_do_resume(struct pci_dev *pdev);
720extern int ata_pci_device_suspend(struct pci_dev *pdev, pm_message_t mesg); 720extern int ata_pci_device_suspend(struct pci_dev *pdev, pm_message_t mesg);
721extern int ata_pci_device_resume(struct pci_dev *pdev); 721extern int ata_pci_device_resume(struct pci_dev *pdev);
722extern int ata_pci_clear_simplex(struct pci_dev *pdev); 722extern int ata_pci_clear_simplex(struct pci_dev *pdev);