From 19db32279dad582563449480e6b8f938f1c437c0 Mon Sep 17 00:00:00 2001 From: Holger Waechtler Date: Fri, 14 Feb 2003 14:48:36 +0000 Subject: add budget_ci link rule and fixed an unitialized variable warning --- linux/drivers/media/dvb/ttpci-budget/budget-ci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'linux/drivers/media/dvb/ttpci-budget') 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; -- cgit v1.2.3