Re: [PATCH] PCI fixes for 2.6.0-test6

Greg KH
2003-09-30T22:53:27Z

ChangeSet 1.1305.5.2, 2003/09/26 09:18:44-07:00, mochel@osdl.org

[pci] Remove ->save_state() from struct pci_driver.

It is not called, and unused.

include/linux/pci.h | 1 -
1 files changed, 1 deletion(-)

diff -Nru a/include/linux/pci.h b/include/linux/pci.h
--- a/include/linux/pci.h Tue Sep 30 15:21:11 2003
+++ b/include/linux/pci.h Tue Sep 30 15:21:11 2003
@@ -515,7 +515,6 @@
const struct pci_device_id *id_table; /* must be non-NULL for probe to be called */
int (*probe) (struct pci_dev *dev, const struct pci_device_id *id); /* New device inserted */
void (*remove) (struct pci_dev *dev); /* Device removed (NULL if not a hot-plug capable driver) */
- int (*save_state) (struct pci_dev *dev, u32 state); /* Save Device Context */
int (*suspend) (struct pci_dev *dev, u32 state); /* Device suspended */
int (*resume) (struct pci_dev *dev); /* Device woken up */
int (*enable_wake) (struct pci_dev *dev, u32 state, int enable); /* Enable wake event */