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>
This commit is contained in:
Yinghai Lu 2012-01-21 02:08:26 -08:00 committed by Jesse Barnes
parent 78c3b329b9
commit 2934a0de09
2 changed files with 6 additions and 6 deletions

View File

@ -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;

View File

@ -23,12 +23,6 @@ struct resource {
struct resource *parent, *sibling, *child;
};
struct resource_list {
struct resource_list *next;
struct resource *res;
struct pci_dev *dev;
};
/*
* IO resources have these defined flags.
*/