diff options
author | Matthew Wilcox <willy@linux.intel.com> | 2009-06-17 16:33:34 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-17 17:04:42 -0400 |
commit | a6c140969b4685f9b9f6773c0760f55ca66d1825 (patch) | |
tree | 8c360948177c771e08f1a77ee4744b01c25d2580 /arch/mn10300/include | |
parent | cebd78a8c5624b5cf04c39c3335a5fc8670a7b69 (diff) |
Delete pcibios_select_root
This function was only used by pci_claim_resource(), and the last commit
deleted that use.
Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/mn10300/include')
-rw-r--r-- | arch/mn10300/include/asm/pci.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/mn10300/include/asm/pci.h b/arch/mn10300/include/asm/pci.h index 0517b45313d8..e58b9a46e1b1 100644 --- a/arch/mn10300/include/asm/pci.h +++ b/arch/mn10300/include/asm/pci.h | |||
@@ -106,19 +106,6 @@ extern void pcibios_bus_to_resource(struct pci_dev *dev, | |||
106 | struct resource *res, | 106 | struct resource *res, |
107 | struct pci_bus_region *region); | 107 | struct pci_bus_region *region); |
108 | 108 | ||
109 | static inline struct resource * | ||
110 | pcibios_select_root(struct pci_dev *pdev, struct resource *res) | ||
111 | { | ||
112 | struct resource *root = NULL; | ||
113 | |||
114 | if (res->flags & IORESOURCE_IO) | ||
115 | root = &ioport_resource; | ||
116 | if (res->flags & IORESOURCE_MEM) | ||
117 | root = &iomem_resource; | ||
118 | |||
119 | return root; | ||
120 | } | ||
121 | |||
122 | #define pcibios_scan_all_fns(a, b) 0 | 109 | #define pcibios_scan_all_fns(a, b) 0 |
123 | 110 | ||
124 | static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel) | 111 | static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel) |