summaryrefslogtreecommitdiff
path: root/drivers/media/dvb/frontends/drxk.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2012-01-05 14:07:32 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-01-05 22:44:09 +0400
commitfa4b2a171d42ffc512b3a86922ad68e1355eb17a (patch)
tree868f8be726461ea7b39c22b2709800a8f8638283 /drivers/media/dvb/frontends/drxk.h
parent9348393aaf59948de8f9826e2e45337ebc3b94da (diff)
downloadlinux-fa4b2a171d42ffc512b3a86922ad68e1355eb17a.tar.xz
[media] drxk: create only one frontend for both DVB-C and DVB-T
Instead of creating two DVB frontend entries for the same device, create just one entry, and fill the delivery_system according with the supported standards. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends/drxk.h')
-rw-r--r--drivers/media/dvb/frontends/drxk.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/media/dvb/frontends/drxk.h b/drivers/media/dvb/frontends/drxk.h
index 870432ffcce1..020981844a86 100644
--- a/drivers/media/dvb/frontends/drxk.h
+++ b/drivers/media/dvb/frontends/drxk.h
@@ -37,12 +37,10 @@ struct drxk_config {
#if defined(CONFIG_DVB_DRXK) || (defined(CONFIG_DVB_DRXK_MODULE) \
&& defined(MODULE))
extern struct dvb_frontend *drxk_attach(const struct drxk_config *config,
- struct i2c_adapter *i2c,
- struct dvb_frontend **fe_t);
+ struct i2c_adapter *i2c);
#else
static inline struct dvb_frontend *drxk_attach(const struct drxk_config *config,
- struct i2c_adapter *i2c,
- struct dvb_frontend **fe_t)
+ struct i2c_adapter *i2c)
{
printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
return NULL;