summaryrefslogtreecommitdiff
path: root/drivers/pci
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2012-01-21 02:08:26 -0800
committerJesse Barnes <jbarnes@virtuousgeek.org>2012-02-14 08:44:55 -0800
commit2934a0de095f277a7bbc15a72ecf61af31a45163 (patch)
tree26fcc207a7bfa419f5a2ecfdf6bcd63e7e09cdcd /drivers/pci
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')
-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 @@
#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;