提交 2934a0de 编写于 作者: Y Yinghai Lu 提交者: Jesse Barnes

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: NLinus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: NYinghai Lu <yinghai@kernel.org>
Signed-off-by: NJesse Barnes <jbarnes@virtuousgeek.org>
上级 78c3b329
......@@ -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;
......
......@@ -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.
*/
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册