summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/ttpci-budget/budget-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/dvb/ttpci-budget/budget-core.c')
-rw-r--r--linux/drivers/media/dvb/ttpci-budget/budget-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/ttpci-budget/budget-core.c b/linux/drivers/media/dvb/ttpci-budget/budget-core.c
index db9f9b053..b3d19c072 100644
--- a/linux/drivers/media/dvb/ttpci-budget/budget-core.c
+++ b/linux/drivers/media/dvb/ttpci-budget/budget-core.c
@@ -421,7 +421,7 @@ int budget_attach (struct saa7146_dev* dev, struct saa7146_pci_extension_data *i
/* the Siemens DVB needs this if you want to have the i2c chips
get recognized before the main driver is loaded */
- saa7146_write(saa->mem, GPIO_CTRL, 0x500000);
+ saa7146_write(dev, GPIO_CTRL, 0x500000);
saa7146_i2c_adapter_prepare(dev, NULL, SAA7146_I2C_BUS_BIT_RATE_3200);
budget->i2c_bus = dvb_register_i2c_bus (master_xfer, dev, budget->dvb_adapter, 0);