summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorHolger Waechtler <devnull@localhost>2003-02-14 14:48:36 +0000
committerHolger Waechtler <devnull@localhost>2003-02-14 14:48:36 +0000
commit19db32279dad582563449480e6b8f938f1c437c0 (patch)
tree42057828536b30862bc42bee085a8eff688f7353 /linux
parent50b063d2db9c9df8cb5c22caade41de829021d61 (diff)
downloadmediapointer-dvb-s2-19db32279dad582563449480e6b8f938f1c437c0.tar.gz
mediapointer-dvb-s2-19db32279dad582563449480e6b8f938f1c437c0.tar.bz2
add budget_ci link rule and fixed an unitialized variable warning
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/dvb/ttpci-budget/budget-ci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/ttpci-budget/budget-ci.c b/linux/drivers/media/dvb/ttpci-budget/budget-ci.c
index d072e9b69..f89a7f200 100644
--- a/linux/drivers/media/dvb/ttpci-budget/budget-ci.c
+++ b/linux/drivers/media/dvb/ttpci-budget/budget-ci.c
@@ -337,11 +337,11 @@ int budget_ci_attach (struct saa7146_dev* dev,
struct budget_ci *budget_ci;
int err;
- DEB_EE(("budget_ci: %p\n", budget_ci));
-
if (!(budget_ci = kmalloc (sizeof(struct budget_ci), GFP_KERNEL)))
return -ENOMEM;
+ DEB_EE(("budget_ci: %p\n", budget_ci));
+
if ((err = ttpci_budget_init (&budget_ci->budget, dev, info))) {
kfree (budget_ci);
return err;