diff options
author | Yinghai Lu <yinghai@kernel.org> | 2012-01-21 05:08:26 -0500 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2012-02-14 11:44:55 -0500 |
commit | 2934a0de095f277a7bbc15a72ecf61af31a45163 (patch) | |
tree | 26fcc207a7bfa419f5a2ecfdf6bcd63e7e09cdcd | |
parent | 78c3b329b9dd7097781cb900146e503e499cccfe (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>
-rw-r--r-- | drivers/pci/setup-bus.c | 6 | ||||
-rw-r--r-- | include/linux/ioport.h | 6 |
2 files changed, 6 insertions, 6 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 | ||
30 | struct resource_list { | ||
31 | struct resource_list *next; | ||
32 | struct resource *res; | ||
33 | struct pci_dev *dev; | ||
34 | }; | ||
35 | |||
30 | struct resource_list_x { | 36 | struct resource_list_x { |
31 | struct resource_list_x *next; | 37 | struct resource_list_x *next; |
32 | struct resource *res; | 38 | struct resource *res; |
diff --git a/include/linux/ioport.h b/include/linux/ioport.h index 9d57a71775b5..e885ba23de70 100644 --- a/include/linux/ioport.h +++ b/include/linux/ioport.h | |||
@@ -23,12 +23,6 @@ struct resource { | |||
23 | struct resource *parent, *sibling, *child; | 23 | struct resource *parent, *sibling, *child; |
24 | }; | 24 | }; |
25 | 25 | ||
26 | struct resource_list { | ||
27 | struct resource_list *next; | ||
28 | struct resource *res; | ||
29 | struct pci_dev *dev; | ||
30 | }; | ||
31 | |||
32 | /* | 26 | /* |
33 | * IO resources have these defined flags. | 27 | * IO resources have these defined flags. |
34 | */ | 28 | */ |