diff options
author | Helge Deller <deller@gmx.de> | 2009-08-02 15:35:43 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2009-08-02 15:35:43 +0200 |
commit | c43962321e8af5309dd3ffcd78743c89581265e5 (patch) | |
tree | 3f79adb3bd65bfa2e5bea9c4cf7cc73a4f017393 /drivers/char | |
parent | 1a1dba32412c15c51d5fc0b9efadd2ea310356d7 (diff) | |
download | op-kernel-dev-c43962321e8af5309dd3ffcd78743c89581265e5.zip op-kernel-dev-c43962321e8af5309dd3ffcd78743c89581265e5.tar.gz |
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>
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/agp/parisc-agp.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |