summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/ttusb-dec/dec2000_frontend.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/ttusb-dec/dec2000_frontend.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/ttusb-dec/dec2000_frontend.c')
-rw-r--r--linux/drivers/media/dvb/ttusb-dec/dec2000_frontend.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/linux/drivers/media/dvb/ttusb-dec/dec2000_frontend.c b/linux/drivers/media/dvb/ttusb-dec/dec2000_frontend.c
index 2d8dba7eb..b1bce427b 100644
--- a/linux/drivers/media/dvb/ttusb-dec/dec2000_frontend.c
+++ b/linux/drivers/media/dvb/ttusb-dec/dec2000_frontend.c
@@ -140,17 +140,15 @@ static int dec2000_frontend_ioctl(struct dvb_frontend *fe, unsigned int cmd,
return 0;
}
-static int dec2000_frontend_attach(struct dvb_i2c_bus *i2c)
+static int dec2000_frontend_attach(struct dvb_i2c_bus *i2c, void **data)
{
dprintk("%s\n", __FUNCTION__);
- dvb_register_frontend(dec2000_frontend_ioctl, i2c, NULL,
+ return dvb_register_frontend(dec2000_frontend_ioctl, i2c, NULL,
&dec2000_frontend_info);
-
- return 0;
}
-static void dec2000_frontend_detach(struct dvb_i2c_bus *i2c)
+static void dec2000_frontend_detach(struct dvb_i2c_bus *i2c, void *data)
{
dprintk("%s\n", __FUNCTION__);