Re: [PATCH] PCI fixes for 2.6.0-test6

From: Greg KH
Date: Tue Sep 30 2003 - 17:59:41 EST


ChangeSet 1.1305.5.2, 2003/09/26 09:18:44-07:00, mochel@xxxxxxxx

[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 */

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/