diff options
author | David Brownell <david-b@pacbell.net> | 2007-05-07 13:26:17 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-07-11 19:02:08 -0400 |
commit | 56906c612e10b5e32a48ccbe8a3c08ab6acf5a28 (patch) | |
tree | e982b9cb97c5be164ee1dfd96e66013b3896d776 /include/linux/pci.h | |
parent | e57571a07de8464f2e5911f87d2c8f29b0430fb7 (diff) |
PCI: remove useless pci driver method
Remove pointless and never-called enable_wake() hook from pci_driver and
from documentation. Evidently this was introduced in the 2.4.6 kernel,
but there's no evidence it was ever called; and it was rarely implemented.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r-- | include/linux/pci.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index 4db7b5a18f58..5be420ac6303 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h | |||
@@ -371,7 +371,6 @@ struct pci_driver { | |||
371 | int (*suspend_late) (struct pci_dev *dev, pm_message_t state); | 371 | int (*suspend_late) (struct pci_dev *dev, pm_message_t state); |
372 | int (*resume_early) (struct pci_dev *dev); | 372 | int (*resume_early) (struct pci_dev *dev); |
373 | int (*resume) (struct pci_dev *dev); /* Device woken up */ | 373 | int (*resume) (struct pci_dev *dev); /* Device woken up */ |
374 | int (*enable_wake) (struct pci_dev *dev, pci_power_t state, int enable); /* Enable wake event */ | ||
375 | void (*shutdown) (struct pci_dev *dev); | 374 | void (*shutdown) (struct pci_dev *dev); |
376 | 375 | ||
377 | struct pci_error_handlers *err_handler; | 376 | struct pci_error_handlers *err_handler; |