summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorMichael Hunold <devnull@localhost>2003-06-19 09:34:02 +0000
committerMichael Hunold <devnull@localhost>2003-06-19 09:34:02 +0000
commit6e65ce7cfe0f8db052e7884b8dcc1300e0fd6506 (patch)
tree8ebd52c1ee8b0d04590a7db9f7a5d211a06c81a0 /linux/drivers
parent52d1870a61124ba4149ed393ed233cba1e734a15 (diff)
downloadmediapointer-dvb-s2-6e65ce7cfe0f8db052e7884b8dcc1300e0fd6506.tar.gz
mediapointer-dvb-s2-6e65ce7cfe0f8db052e7884b8dcc1300e0fd6506.tar.bz2
Add missing count variable, thanks to <matt@Helius.COM>
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/dvb/ttpci/budget-patch.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/ttpci/budget-patch.c b/linux/drivers/media/dvb/ttpci/budget-patch.c
index 5ce7e02c4..0eb9c8eae 100644
--- a/linux/drivers/media/dvb/ttpci/budget-patch.c
+++ b/linux/drivers/media/dvb/ttpci/budget-patch.c
@@ -165,7 +165,8 @@ static int budget_patch_attach (struct saa7146_dev* dev, struct saa7146_pci_exte
{
struct budget_patch *budget;
int err;
-
+ int count = 0;
+
if (!(budget = kmalloc (sizeof(struct budget_patch), GFP_KERNEL)))
return -ENOMEM;