diff options
author | 2012-01-21 02:08:26 -0800 | |
---|---|---|
committer | 2012-02-14 08:44:55 -0800 | |
commit | 2934a0de095f277a7bbc15a72ecf61af31a45163 (patch) | |
tree | 26fcc207a7bfa419f5a2ecfdf6bcd63e7e09cdcd /drivers/pci/setup-bus.c | |
parent | PCI: Move pdev_sort_resources() to setup-bus.c (diff) | |
download | linux-2934a0de095f277a7bbc15a72ecf61af31a45163.tar.gz linux-2934a0de095f277a7bbc15a72ecf61af31a45163.tar.bz2 linux-2934a0de095f277a7bbc15a72ecf61af31a45163.zip |
PCI: Move struct resource_list to setup-bus.c
No user outside of setup-bus.c now. Later patches will convert
resource_list to a regular list.
Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/setup-bus.c')
-rw-r--r-- | drivers/pci/setup-bus.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/pci/setup-bus.c b/drivers/pci/setup-bus.c index f233d127ca89..b067a4cdce43 100644 --- a/drivers/pci/setup-bus.c +++ b/drivers/pci/setup-bus.c @@ -27,6 +27,12 @@ #include <linux/slab.h> #include "pci.h" +struct resource_list { + struct resource_list *next; + struct resource *res; + struct pci_dev *dev; +}; + struct resource_list_x { struct resource_list_x *next; struct resource *res; |