diff --git a/drivers/pci/setup-bus.c b/drivers/pci/setup-bus.c index f233d127ca89174aa9b9433227267200bc9cef34..b067a4cdce43ec3909c0039a4d06570e7e000112 100644 --- a/drivers/pci/setup-bus.c +++ b/drivers/pci/setup-bus.c @@ -27,6 +27,12 @@ #include #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; diff --git a/include/linux/ioport.h b/include/linux/ioport.h index 9d57a71775b5714b5d67df7857142eaa6f349ebe..e885ba23de7017882457ff0dc2d6fbb6f6575b13 100644 --- a/include/linux/ioport.h +++ b/include/linux/ioport.h @@ -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. */