diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2010-08-14 03:18:26 -0400 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2010-10-21 01:51:37 -0400 |
commit | b9b12fd147553676c6b9483bdc9e3eae0b449aa0 (patch) | |
tree | cfd3ca307b0c6a4fc923aba907ef09a609014726 /arch/microblaze/pci | |
parent | 6d5f2f6d4114578e2504ed3f675d450cbde5a161 (diff) |
microblaze: use asm-generic/pci-dma-compat.h
Use asm-generic/pci-dma-compat.h instead of the homegrown
pci_set_dma_mask and pci_set_consistent_dma_mask.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'arch/microblaze/pci')
-rw-r--r-- | arch/microblaze/pci/pci-common.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/arch/microblaze/pci/pci-common.c b/arch/microblaze/pci/pci-common.c index 55ef532f32b..2bc57a836d7 100644 --- a/arch/microblaze/pci/pci-common.c +++ b/arch/microblaze/pci/pci-common.c | |||
@@ -60,21 +60,6 @@ struct dma_map_ops *get_pci_dma_ops(void) | |||
60 | } | 60 | } |
61 | EXPORT_SYMBOL(get_pci_dma_ops); | 61 | EXPORT_SYMBOL(get_pci_dma_ops); |
62 | 62 | ||
63 | int pci_set_dma_mask(struct pci_dev *dev, u64 mask) | ||
64 | { | ||
65 | return dma_set_mask(&dev->dev, mask); | ||
66 | } | ||
67 | |||
68 | int pci_set_consistent_dma_mask(struct pci_dev *dev, u64 mask) | ||
69 | { | ||
70 | int rc; | ||
71 | |||
72 | rc = dma_set_mask(&dev->dev, mask); | ||
73 | dev->dev.coherent_dma_mask = dev->dma_mask; | ||
74 | |||
75 | return rc; | ||
76 | } | ||
77 | |||
78 | struct pci_controller *pcibios_alloc_controller(struct device_node *dev) | 63 | struct pci_controller *pcibios_alloc_controller(struct device_node *dev) |
79 | { | 64 | { |
80 | struct pci_controller *phb; | 65 | struct pci_controller *phb; |