From: Helge Deller Date: Sun, 2 Aug 2009 13:35:43 +0000 (+0200) Subject: parisc: parisc-agp.c - use correct page_mask function X-Git-Tag: v2.6.31-rc6~72^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c43962321e8af5309dd3ffcd78743c89581265e5;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git 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 --- diff --git a/drivers/char/agp/parisc-agp.c b/drivers/char/agp/parisc-agp.c index f4bb43f..e077701 100644 --- a/drivers/char/agp/parisc-agp.c +++ b/drivers/char/agp/parisc-agp.c @@ -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,