diff options
Diffstat (limited to 'arch/microblaze')
-rw-r--r-- | arch/microblaze/include/asm/pci.h | 5 | ||||
-rw-r--r-- | arch/microblaze/pci/pci-common.c | 20 |
2 files changed, 0 insertions, 25 deletions
diff --git a/arch/microblaze/include/asm/pci.h b/arch/microblaze/include/asm/pci.h index 935f9bec414a..335524040fff 100644 --- a/arch/microblaze/include/asm/pci.h +++ b/arch/microblaze/include/asm/pci.h | |||
@@ -44,11 +44,6 @@ struct pci_dev; | |||
44 | */ | 44 | */ |
45 | #define pcibios_assign_all_busses() 0 | 45 | #define pcibios_assign_all_busses() 0 |
46 | 46 | ||
47 | static inline void pcibios_penalize_isa_irq(int irq, int active) | ||
48 | { | ||
49 | /* We don't do dynamic PCI IRQ allocation */ | ||
50 | } | ||
51 | |||
52 | #ifdef CONFIG_PCI | 47 | #ifdef CONFIG_PCI |
53 | extern void set_pci_dma_ops(struct dma_map_ops *dma_ops); | 48 | extern void set_pci_dma_ops(struct dma_map_ops *dma_ops); |
54 | extern struct dma_map_ops *get_pci_dma_ops(void); | 49 | extern struct dma_map_ops *get_pci_dma_ops(void); |
diff --git a/arch/microblaze/pci/pci-common.c b/arch/microblaze/pci/pci-common.c index 70996cc66aa2..a59de1bc1ce0 100644 --- a/arch/microblaze/pci/pci-common.c +++ b/arch/microblaze/pci/pci-common.c | |||
@@ -168,26 +168,6 @@ struct pci_controller *pci_find_hose_for_OF_device(struct device_node *node) | |||
168 | return NULL; | 168 | return NULL; |
169 | } | 169 | } |
170 | 170 | ||
171 | static ssize_t pci_show_devspec(struct device *dev, | ||
172 | struct device_attribute *attr, char *buf) | ||
173 | { | ||
174 | struct pci_dev *pdev; | ||
175 | struct device_node *np; | ||
176 | |||
177 | pdev = to_pci_dev(dev); | ||
178 | np = pci_device_to_OF_node(pdev); | ||
179 | if (np == NULL || np->full_name == NULL) | ||
180 | return 0; | ||
181 | return sprintf(buf, "%s", np->full_name); | ||
182 | } | ||
183 | static DEVICE_ATTR(devspec, S_IRUGO, pci_show_devspec, NULL); | ||
184 | |||
185 | /* Add sysfs properties */ | ||
186 | int pcibios_add_platform_entries(struct pci_dev *pdev) | ||
187 | { | ||
188 | return device_create_file(&pdev->dev, &dev_attr_devspec); | ||
189 | } | ||
190 | |||
191 | void pcibios_set_master(struct pci_dev *dev) | 171 | void pcibios_set_master(struct pci_dev *dev) |
192 | { | 172 | { |
193 | /* No special bus mastering setup handling */ | 173 | /* No special bus mastering setup handling */ |