Skip to content

Commit

Permalink
PCI: Move struct resource_list to setup-bus.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Yinghai Lu authored and Jesse Barnes committed Feb 14, 2012
1 parent 78c3b32 commit 2934a0d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 6 additions & 0 deletions drivers/pci/setup-bus.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
6 changes: 0 additions & 6 deletions include/linux/ioport.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down

0 comments on commit 2934a0d

Please sign in to comment.