瀏覽代碼

parisc: parisc-agp.c - use correct page_mask function

Fix those compiler warnings, which indeed point to a bug:
drivers/char/agp/parisc-agp.c:228: warning: initialization from incompatible pointer type
drivers/char/agp/parisc-agp.c:201: warning: 'parisc_agp_page_mask_memory' defined but not used

Signed-off-by: Helge Deller <deller@gmx.de>
Helge Deller 16 年之前
父節點
當前提交
c43962321e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/char/agp/parisc-agp.c

+ 1 - 1
drivers/char/agp/parisc-agp.c

@@ -225,7 +225,7 @@ static const struct agp_bridge_driver parisc_agp_driver = {
 	.configure		= parisc_agp_configure,
 	.configure		= parisc_agp_configure,
 	.fetch_size		= parisc_agp_fetch_size,
 	.fetch_size		= parisc_agp_fetch_size,
 	.tlb_flush		= parisc_agp_tlbflush,
 	.tlb_flush		= parisc_agp_tlbflush,
-	.mask_memory		= parisc_agp_mask_memory,
+	.mask_memory		= parisc_agp_page_mask_memory,
 	.masks			= parisc_agp_masks,
 	.masks			= parisc_agp_masks,
 	.agp_enable		= parisc_agp_enable,
 	.agp_enable		= parisc_agp_enable,
 	.cache_flush		= global_cache_flush,
 	.cache_flush		= global_cache_flush,