x86: pci-nommu.c declare nommu_dma_ops before they get used
Signed-off-by: Jaswinder Singh <jaswinder@infradead.org>
This commit is contained in:
parent
9321b8cbbb
commit
791b897ccd
1 changed files with 1 additions and 0 deletions
|
@ -57,6 +57,7 @@ struct dma_mapping_ops {
|
|||
};
|
||||
|
||||
extern const struct dma_mapping_ops *dma_ops;
|
||||
extern const struct dma_mapping_ops nommu_dma_ops;
|
||||
|
||||
static inline int dma_mapping_error(dma_addr_t dma_addr)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue