瀏覽代碼

x86: pci-nommu.c declare nommu_dma_ops before they get used

Signed-off-by: Jaswinder Singh <jaswinder@infradead.org>
Jaswinder Singh 17 年之前
父節點
當前提交
791b897ccd
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      include/asm-x86/dma-mapping.h

+ 1 - 0
include/asm-x86/dma-mapping.h

@@ -57,6 +57,7 @@ struct dma_mapping_ops {
 };
 };
 
 
 extern const struct dma_mapping_ops *dma_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)
 static inline int dma_mapping_error(dma_addr_t dma_addr)
 {
 {