summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/nxt6000.c
diff options
context:
space:
mode:
authorAndreas Oberritter <devnull@localhost>2003-10-08 23:12:46 +0000
committerAndreas Oberritter <devnull@localhost>2003-10-08 23:12:46 +0000
commit211cbd901aa45d1e325986fb9709ea774c4f29f7 (patch)
treeca4aabb2420f9555202e568f17d05b2016557d66 /linux/drivers/media/dvb/frontends/nxt6000.c
parent20bef24e32fbba770db1a3f6f2481745ea25603e (diff)
downloadmediapointer-dvb-s2-211cbd901aa45d1e325986fb9709ea774c4f29f7.tar.gz
mediapointer-dvb-s2-211cbd901aa45d1e325986fb9709ea774c4f29f7.tar.bz2
- allow private data to be associated with i2c devices
- fixed some return values in i2c device attach functions
Diffstat (limited to 'linux/drivers/media/dvb/frontends/nxt6000.c')
-rw-r--r--linux/drivers/media/dvb/frontends/nxt6000.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/frontends/nxt6000.c b/linux/drivers/media/dvb/frontends/nxt6000.c
index 93ca0c51c..711e19863 100644
--- a/linux/drivers/media/dvb/frontends/nxt6000.c
+++ b/linux/drivers/media/dvb/frontends/nxt6000.c
@@ -829,7 +829,7 @@ static int nxt6000_ioctl(struct dvb_frontend *fe, unsigned int cmd, void *arg)
static u8 demod_addr_tbl[] = {0x14, 0x18, 0x24, 0x28};
-static int nxt6000_attach(struct dvb_i2c_bus *i2c)
+static int nxt6000_attach(struct dvb_i2c_bus *i2c, void **data)
{
u8 addr_nr;
@@ -888,7 +888,7 @@ static int nxt6000_attach(struct dvb_i2c_bus *i2c)
}
-static void nxt6000_detach(struct dvb_i2c_bus *i2c)
+static void nxt6000_detach(struct dvb_i2c_bus *i2c, void *data)
{
dprintk("nxt6000: detach\n");