summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPatrick Mochel <mochel@geena.pdx.osdl.net>2002-05-28 04:02:33 -0700
committerPatrick Mochel <mochel@hera.kernel.org>2002-05-28 04:02:33 -0700
commit4b4a837f2b57467de03001bb9003382d1c9a7f18 (patch)
tree34e01d822bd361a9b81d3b4d47e805fce7bea726 /include
parentf371ab1c59dab04bfe7d239c3d5e85550bf31365 (diff)
PCI: start to use common fields of struct device_driver more
- add struct device_driver field to struct pci_driver - make sure those fields get set on driver registration (and register with core) - remove internal pci_drivers
Diffstat (limited to 'include')
-rw-r--r--include/linux/pci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index f6e3a68a2a0d..7cbc68fdb743 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -487,6 +487,8 @@ struct pci_driver {
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 */
+
+ struct device_driver driver;
};