Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] dvb-kernel 2.4 budget-patch.c patch



I had to add the "count" variable to get the 2.4 version of dvb-kernel 
budget-patch.c to compile.  The line that I added is in the 2.5 version, but 
not the 2.4 version.

Matt Davis

[mdavis dvb-kernel]$ cvs -q diff -pu
Index: linux/drivers/media/dvb/ttpci/budget-patch.c
===================================================================
RCS file: /cvs/linuxtv/dvb-kernel/linux/drivers/media/dvb/ttpci/budget-patch.c,v
retrieving revision 1.5
diff -p -u -r1.5 budget-patch.c
--- linux/drivers/media/dvb/ttpci/budget-patch.c	18 Jun 2003 12:20:46 -0000	1.5
+++ linux/drivers/media/dvb/ttpci/budget-patch.c	18 Jun 2003 22:40:17 -0000
@@ -165,6 +165,7 @@ static int budget_patch_attach (struct s
 {
         struct budget_patch *budget;
         int err;
+	int count = 0;
 
         if (!(budget = kmalloc (sizeof(struct budget_patch), GFP_KERNEL)))
                 return -ENOMEM;

Home | Main Index | Thread Index