From 72856925b74e59de00d2b649cc3c6897a9f982e3 Mon Sep 17 00:00:00 2001 From: FUJITA Tomonori Date: Sat, 14 Aug 2010 16:18:26 +0900 Subject: [PATCH] --- yaml --- r: 217134 b: refs/heads/master c: b9b12fd147553676c6b9483bdc9e3eae0b449aa0 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/microblaze/include/asm/pci.h | 2 ++ trunk/arch/microblaze/pci/pci-common.c | 15 --------------- 3 files changed, 3 insertions(+), 16 deletions(-) diff --git a/[refs] b/[refs] index 48fc53fc85bb..5e1cfda2312a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 6d5f2f6d4114578e2504ed3f675d450cbde5a161 +refs/heads/master: b9b12fd147553676c6b9483bdc9e3eae0b449aa0 diff --git a/trunk/arch/microblaze/include/asm/pci.h b/trunk/arch/microblaze/include/asm/pci.h index 5a388eeeb28f..2232ff942ba9 100644 --- a/trunk/arch/microblaze/include/asm/pci.h +++ b/trunk/arch/microblaze/include/asm/pci.h @@ -165,5 +165,7 @@ extern void __init xilinx_pci_init(void); static inline void __init xilinx_pci_init(void) { return; } #endif +#include + #endif /* __KERNEL__ */ #endif /* __ASM_MICROBLAZE_PCI_H */ diff --git a/trunk/arch/microblaze/pci/pci-common.c b/trunk/arch/microblaze/pci/pci-common.c index 55ef532f32be..2bc57a836d71 100644 --- a/trunk/arch/microblaze/pci/pci-common.c +++ b/trunk/arch/microblaze/pci/pci-common.c @@ -60,21 +60,6 @@ struct dma_map_ops *get_pci_dma_ops(void) } EXPORT_SYMBOL(get_pci_dma_ops); -int pci_set_dma_mask(struct pci_dev *dev, u64 mask) -{ - return dma_set_mask(&dev->dev, mask); -} - -int pci_set_consistent_dma_mask(struct pci_dev *dev, u64 mask) -{ - int rc; - - rc = dma_set_mask(&dev->dev, mask); - dev->dev.coherent_dma_mask = dev->dma_mask; - - return rc; -} - struct pci_controller *pcibios_alloc_controller(struct device_node *dev) { struct pci_controller *phb;