diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2005-06-30 13:18:12 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-07-02 00:35:50 +0400 |
commit | 75865858971add95809c5c9cd35dc4cfba08e33b (patch) | |
tree | e8b3fe78e15696f36156d1f94d35b7711590365f /include/linux/pci-dynids.h | |
parent | 299de0343c7d18448a69c635378342e9214b14af (diff) | |
download | linux-75865858971add95809c5c9cd35dc4cfba08e33b.tar.xz |
[PATCH] PCI: clean up dynamic pci id logic
The dynamic pci id logic has been bothering me for a while, and now that
I started to look into how to move some of this to the driver core, I
thought it was time to clean it all up.
It ends up making the code smaller, and easier to follow, and fixes a
few bugs at the same time (dynamic ids were not being matched
everywhere, and so could be missed on some call paths for new devices,
semaphore not needed to be grabbed when adding a new id and calling the
driver core, etc.)
I also renamed the function pci_match_device() to pci_match_id() as
that's what it really does.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/pci-dynids.h')
-rw-r--r-- | include/linux/pci-dynids.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/include/linux/pci-dynids.h b/include/linux/pci-dynids.h deleted file mode 100644 index 183b6b0de81c..000000000000 --- a/include/linux/pci-dynids.h +++ /dev/null @@ -1,18 +0,0 @@ -/* - * PCI defines and function prototypes - * Copyright 2003 Dell Inc. - * by Matt Domsch <Matt_Domsch@dell.com> - */ - -#ifndef LINUX_PCI_DYNIDS_H -#define LINUX_PCI_DYNIDS_H - -#include <linux/list.h> -#include <linux/mod_devicetable.h> - -struct dynid { - struct list_head node; - struct pci_device_id id; -}; - -#endif |