microblaze: remove unused HAVE_ARCH_PCI_SET_DMA_MASK
HAVE_ARCH_PCI_SET_DMA_MASK was removed in 2.6.34 (no architecture has the own implementation of pci_set_dma_mask). Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Signed-off-by: Michal Simek <monstr@monstr.eu>
This commit is contained in:
parent
d0f140e03e
commit
75842abfd8
1 changed files with 0 additions and 6 deletions
|
@ -79,12 +79,6 @@ static inline int dma_supported(struct device *dev, u64 mask)
|
||||||
return ops->dma_supported(dev, mask);
|
return ops->dma_supported(dev, mask);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_PCI
|
|
||||||
/* We have our own implementation of pci_set_dma_mask() */
|
|
||||||
#define HAVE_ARCH_PCI_SET_DMA_MASK
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static inline int dma_set_mask(struct device *dev, u64 dma_mask)
|
static inline int dma_set_mask(struct device *dev, u64 dma_mask)
|
||||||
{
|
{
|
||||||
struct dma_map_ops *ops = get_dma_ops(dev);
|
struct dma_map_ops *ops = get_dma_ops(dev);
|
||||||
|
|
Loading…
Add table
Reference in a new issue