Commit 2934a0de authored by Yinghai Lu's avatar Yinghai Lu Committed by Jesse Barnes

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: default avatarLinus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: default avatarYinghai Lu <yinghai@kernel.org>
Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
parent 78c3b329
...@@ -27,6 +27,12 @@ ...@@ -27,6 +27,12 @@
#include <linux/slab.h> #include <linux/slab.h>
#include "pci.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 {
struct resource_list_x *next; struct resource_list_x *next;
struct resource *res; struct resource *res;
......
...@@ -23,12 +23,6 @@ struct resource { ...@@ -23,12 +23,6 @@ struct resource {
struct resource *parent, *sibling, *child; 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. * IO resources have these defined flags.
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment