diff options
Diffstat (limited to 'arch/mn10300/include/asm/pci.h')
-rw-r--r-- | arch/mn10300/include/asm/pci.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/arch/mn10300/include/asm/pci.h b/arch/mn10300/include/asm/pci.h index 0517b45313d8..19aecc90f7a4 100644 --- a/arch/mn10300/include/asm/pci.h +++ b/arch/mn10300/include/asm/pci.h | |||
@@ -59,7 +59,6 @@ void pcibios_penalize_isa_irq(int irq); | |||
59 | #include <linux/slab.h> | 59 | #include <linux/slab.h> |
60 | #include <asm/scatterlist.h> | 60 | #include <asm/scatterlist.h> |
61 | #include <linux/string.h> | 61 | #include <linux/string.h> |
62 | #include <linux/mm.h> | ||
63 | #include <asm/io.h> | 62 | #include <asm/io.h> |
64 | 63 | ||
65 | struct pci_dev; | 64 | struct pci_dev; |
@@ -70,10 +69,6 @@ struct pci_dev; | |||
70 | */ | 69 | */ |
71 | #define PCI_DMA_BUS_IS_PHYS (1) | 70 | #define PCI_DMA_BUS_IS_PHYS (1) |
72 | 71 | ||
73 | |||
74 | /* This is always fine. */ | ||
75 | #define pci_dac_dma_supported(pci_dev, mask) (0) | ||
76 | |||
77 | /* Return the index of the PCI controller for device. */ | 72 | /* Return the index of the PCI controller for device. */ |
78 | static inline int pci_controller_num(struct pci_dev *dev) | 73 | static inline int pci_controller_num(struct pci_dev *dev) |
79 | { | 74 | { |
@@ -106,19 +101,6 @@ extern void pcibios_bus_to_resource(struct pci_dev *dev, | |||
106 | struct resource *res, | 101 | struct resource *res, |
107 | struct pci_bus_region *region); | 102 | struct pci_bus_region *region); |
108 | 103 | ||
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 | 104 | #define pcibios_scan_all_fns(a, b) 0 |
123 | 105 | ||
124 | static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel) | 106 | static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel) |