forked from Minki/linux
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:
parent
78c3b329b9
commit
2934a0de09
@ -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;
|
||||
|
@ -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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user