--- 27rc5~/drivers/video/pm3fb.c 2004-04-14 16:05:38.000000000 +0300 +++ 27rc5/drivers/video/pm3fb.c 2004-08-07 14:09:39.000000000 +0300 @@ -3838,11 +3838,9 @@ (unsigned char *) -1) { pm3fb_unmapIO(l_fb_info); #if (defined KERNEL_2_4) || (defined KERNEL_2_5) - release_mem_region(l_fb_info->p_fb, - l_fb_info-> - fb_size); - release_mem_region(l_fb_info-> - pIOBase, + release_mem_region((u_long)l_fb_info->p_fb, + l_fb_info->fb_size); + release_mem_region((u_long)l_fb_info->pIOBase, PM3_REGS_SIZE); #endif /* KERNEL_2_4 or KERNEL_2_5 */ }