summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGreg KH <gregkh@suse.de>2005-04-08 14:53:31 +0900
committerGreg KH <gregkh@suse.de>2005-05-03 23:45:15 -0700
commitc8958177224622411b9979eabb5610e30b06034b (patch)
tree09ceb4ce69813c9ac2a3e3c7ea6eff9d5361fe9c /include
parent4c0619add8c3a8b28e7fae8b15cc7b62de2f8148 (diff)
[PATCH] PCI: Add pci shutdown ability
Now pci drivers can know when the system is going down without having to add a reboot notifier event. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/pci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index 3c89148ae28a..cff5ba3ac8ce 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -671,6 +671,7 @@ struct pci_driver {
int (*suspend) (struct pci_dev *dev, pm_message_t state); /* Device suspended */
int (*resume) (struct pci_dev *dev); /* Device woken up */
int (*enable_wake) (struct pci_dev *dev, pci_power_t state, int enable); /* Enable wake event */
+ void (*shutdown) (struct pci_dev *dev);
struct device_driver driver;
struct pci_dynids dynids;