summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linux/drivers/media/dvb/ttpci/budget-ci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/ttpci/budget-ci.c b/linux/drivers/media/dvb/ttpci/budget-ci.c
index c19fe2ae7..db16c44e1 100644
--- a/linux/drivers/media/dvb/ttpci/budget-ci.c
+++ b/linux/drivers/media/dvb/ttpci/budget-ci.c
@@ -68,7 +68,7 @@ static u32 budget_debiread (struct budget_ci* budget_ci, u32 config, int addr, i
if (count > 4 || count <= 0)
return 0;
- spin_lock(budget_ci->debilock);
+ spin_lock(&budget_ci->debilock);
if (saa7146_wait_for_debi_done(saa) < 0) {
spin_unlock(&budget_ci->debilock);
@@ -351,7 +351,7 @@ static int budget_ci_attach (struct saa7146_dev* dev,
DEB_EE(("budget_ci: %p\n", budget_ci));
- spin_lock_init(budget_ci->debilock);
+ spin_lock_init(&budget_ci->debilock);
budget_ci->ci_present = 0;
if ((err = ttpci_budget_init (&budget_ci->budget, dev, info))) {