parisc: parisc-agp.c - use correct page_mask function
authorHelge Deller <deller@gmx.de>
Sun, 2 Aug 2009 13:35:43 +0000 (15:35 +0200)
committerHelge Deller <deller@gmx.de>
Sun, 2 Aug 2009 13:35:43 +0000 (15:35 +0200)
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>
drivers/char/agp/parisc-agp.c

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