aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/setup-bus.c
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2012-01-21 05:08:26 -0500
committerJesse Barnes <jbarnes@virtuousgeek.org>2012-02-14 11:44:55 -0500
commit2934a0de095f277a7bbc15a72ecf61af31a45163 (patch)
tree26fcc207a7bfa419f5a2ecfdf6bcd63e7e09cdcd /drivers/pci/setup-bus.c
parent78c3b329b9dd7097781cb900146e503e499cccfe (diff)
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.c6
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 @@
27#include <linux/slab.h> 27#include <linux/slab.h>
28#include "pci.h" 28#include "pci.h"
29 29
30struct resource_list {
31 struct resource_list *next;
32 struct resource *res;
33 struct pci_dev *dev;
34};
35
30struct resource_list_x { 36struct resource_list_x {
31 struct resource_list_x *next; 37 struct resource_list_x *next;
32 struct resource *res; 38 struct resource *res;