diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-04-20 08:46:42 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-04-20 08:46:42 -0400 |
commit | 805fcc88999162b361ef0b0ce25782ef65f147d7 (patch) | |
tree | 6d39798614428034f9fada4bd6406d2100c634b6 /arch/sh/include/asm/pci.h | |
parent | 2d5efc190eb415dbff79ffab4f8ea731ab0288a9 (diff) |
sh: pci: Kill off the last remnants of the now unused pci-auto code.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/pci.h')
-rw-r--r-- | arch/sh/include/asm/pci.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/sh/include/asm/pci.h b/arch/sh/include/asm/pci.h index f36c7899295b..f910121559b0 100644 --- a/arch/sh/include/asm/pci.h +++ b/arch/sh/include/asm/pci.h | |||
@@ -19,8 +19,6 @@ | |||
19 | struct pci_channel { | 19 | struct pci_channel { |
20 | struct pci_channel *next; | 20 | struct pci_channel *next; |
21 | 21 | ||
22 | int (*init)(struct pci_channel *chan); | ||
23 | |||
24 | struct pci_ops *pci_ops; | 22 | struct pci_ops *pci_ops; |
25 | struct resource *io_resource; | 23 | struct resource *io_resource; |
26 | struct resource *mem_resource; | 24 | struct resource *mem_resource; |
@@ -28,20 +26,11 @@ struct pci_channel { | |||
28 | unsigned long io_offset; | 26 | unsigned long io_offset; |
29 | unsigned long mem_offset; | 27 | unsigned long mem_offset; |
30 | 28 | ||
31 | int first_devfn; | ||
32 | int last_devfn; | ||
33 | int enabled; | ||
34 | |||
35 | unsigned long reg_base; | 29 | unsigned long reg_base; |
36 | 30 | ||
37 | unsigned long io_map_base; | 31 | unsigned long io_map_base; |
38 | }; | 32 | }; |
39 | 33 | ||
40 | /* | ||
41 | * Each board initializes this array and terminates it with a NULL entry. | ||
42 | */ | ||
43 | extern struct pci_channel board_pci_channels[]; | ||
44 | |||
45 | extern void register_pci_controller(struct pci_channel *hose); | 34 | extern void register_pci_controller(struct pci_channel *hose); |
46 | 35 | ||
47 | extern unsigned long PCIBIOS_MIN_IO, PCIBIOS_MIN_MEM; | 36 | extern unsigned long PCIBIOS_MIN_IO, PCIBIOS_MIN_MEM; |
@@ -122,13 +111,8 @@ static inline void pci_dma_burst_advice(struct pci_dev *pdev, | |||
122 | #endif | 111 | #endif |
123 | 112 | ||
124 | /* Board-specific fixup routines. */ | 113 | /* Board-specific fixup routines. */ |
125 | int pcibios_init_platform(void); | ||
126 | int pcibios_map_platform_irq(struct pci_dev *dev, u8 slot, u8 pin); | 114 | int pcibios_map_platform_irq(struct pci_dev *dev, u8 slot, u8 pin); |
127 | 115 | ||
128 | #ifdef CONFIG_PCI_AUTO | ||
129 | int pciauto_assign_resources(int busno, struct pci_channel *hose); | ||
130 | #endif | ||
131 | |||
132 | extern void pcibios_resource_to_bus(struct pci_dev *dev, | 116 | extern void pcibios_resource_to_bus(struct pci_dev *dev, |
133 | struct pci_bus_region *region, struct resource *res); | 117 | struct pci_bus_region *region, struct resource *res); |
134 | 118 | ||