patch-2.4.0-test5 linux/drivers/video/matrox/matroxfb_base.c

Next file: linux/drivers/video/mdacon.c
Previous file: linux/drivers/video/matrox/matroxfb_accel.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test4/linux/drivers/video/matrox/matroxfb_base.c linux/drivers/video/matrox/matroxfb_base.c
@@ -201,8 +201,8 @@
 	release_mem_region(ACCESS_FBINFO(video.base), ACCESS_FBINFO(video.len_maximum));
 	release_mem_region(ACCESS_FBINFO(mmio.base), 16384);
 #ifdef CONFIG_FB_MATROX_MULTIHEAD
-	kfree_s(ACCESS_FBINFO(fbcon.disp), sizeof(struct display));
-	kfree_s(minfo, sizeof(struct matrox_fb_info));
+	kfree(ACCESS_FBINFO(fbcon.disp));
+	kfree(minfo);
 #endif
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)