patch-2.1.88 linux/drivers/char/bttv.c

Next file: linux/drivers/char/bw-qcam.c
Previous file: linux/drivers/char/atarimouse.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.87/linux/drivers/char/bttv.c linux/drivers/char/bttv.c
@@ -24,7 +24,6 @@
 
 #include <linux/module.h>
 #include <linux/bios32.h>
-#include <linux/config.h>
 #include <linux/delay.h>
 #include <linux/errno.h>
 #include <linux/fs.h>
@@ -1684,7 +1683,7 @@
 		return -1;
 	if (!(btv->risc_even=(dword *) kmalloc(RISCMEM_LEN/2, GFP_KERNEL)))
 		return -1;
-	if (!(btv->risc_jmp =(dword *) kmalloc(1024, GFP_KERNEL)))
+	if (!(btv->risc_jmp =(dword *) kmalloc(2048, GFP_KERNEL)))
 		return -1;
 	btv->vbi_odd=btv->risc_jmp+12;
 	btv->vbi_even=btv->vbi_odd+256;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov