Rev 6102 | Rev 6588 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6102 | Rev 6125 | ||
---|---|---|---|
Line 94... | Line 94... | ||
94 | } |
94 | } |
Line 95... | Line 95... | ||
95 | 95 | ||
96 | #ifdef CONFIG_PCI |
96 | #ifdef CONFIG_PCI |
97 | static inline int pci_set_dma_mask(struct pci_dev *dev, u64 mask) |
97 | static inline int pci_set_dma_mask(struct pci_dev *dev, u64 mask) |
98 | { |
98 | { |
99 | return dma_set_mask(&dev->dev, mask); |
99 | return 0; |
Line 100... | Line 100... | ||
100 | } |
100 | } |
101 | 101 | ||
102 | static inline int pci_set_consistent_dma_mask(struct pci_dev *dev, u64 mask) |
102 | static inline int pci_set_consistent_dma_mask(struct pci_dev *dev, u64 mask) |
103 | { |
103 | { |
104 | return dma_set_coherent_mask(&dev->dev, mask); |
104 | return 0; |
Line 105... | Line 105... | ||
105 | } |
105 | } |