PCI: Move struct resource_list to setup-bus.c
authorYinghai Lu <yinghai@kernel.org>
Sat, 21 Jan 2012 10:08:26 +0000 (02:08 -0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 14 Feb 2012 16:44:55 +0000 (08:44 -0800)
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>
drivers/pci/setup-bus.c
include/linux/ioport.h

index f233d127ca89174aa9b9433227267200bc9cef34..b067a4cdce43ec3909c0039a4d06570e7e000112 100644 (file)
 #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;
index 9d57a71775b5714b5d67df7857142eaa6f349ebe..e885ba23de7017882457ff0dc2d6fbb6f6575b13 100644 (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.
  */
This page took 0.026428 seconds and 5 git commands to generate.