summaryrefslogtreecommitdiff
path: root/linux/drivers/media
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-06-16 16:08:17 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-06-16 16:08:17 -0400
commit52bcb7460a6934b8b53c40964e2094d7998147ab (patch)
treedd36d78238d160ce5b553391ce1055acbc9a331f /linux/drivers/media
parent006bfc72f27dbb1100886dab420c648ab8262e51 (diff)
downloadmediapointer-dvb-s2-52bcb7460a6934b8b53c40964e2094d7998147ab.tar.gz
mediapointer-dvb-s2-52bcb7460a6934b8b53c40964e2094d7998147ab.tar.bz2
cx23885: add FIXME comment above set_frontend override
From: Michael Krufky <mkrufky@kernellabs.com> add FIXME comment to indicate that the set_frontend override is a temporary hack. This will be done a better way in the next kernel. Priority: normal Signed-off-by: Michael Krufky <mkrufky@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media')
-rw-r--r--linux/drivers/media/video/cx23885/cx23885-dvb.c1
-rw-r--r--linux/drivers/media/video/cx23885/cx23885.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/linux/drivers/media/video/cx23885/cx23885-dvb.c b/linux/drivers/media/video/cx23885/cx23885-dvb.c
index 83584535a..4bab7c814 100644
--- a/linux/drivers/media/video/cx23885/cx23885-dvb.c
+++ b/linux/drivers/media/video/cx23885/cx23885-dvb.c
@@ -528,6 +528,7 @@ static int dvb_register(struct cx23885_tsport *port)
&hauppauge_hvr127x_config);
}
+ /* FIXME: temporary hack */
/* define bridge override to set_frontend */
port->set_frontend_save = fe0->dvb.frontend->ops.set_frontend;
fe0->dvb.frontend->ops.set_frontend = cx23885_dvb_set_frontend;
diff --git a/linux/drivers/media/video/cx23885/cx23885.h b/linux/drivers/media/video/cx23885/cx23885.h
index 81af0ede1..aecaca4b4 100644
--- a/linux/drivers/media/video/cx23885/cx23885.h
+++ b/linux/drivers/media/video/cx23885/cx23885.h
@@ -289,6 +289,8 @@ struct cx23885_tsport {
/* Allow a single tsport to have multiple frontends */
u32 num_frontends;
void *port_priv;
+
+ /* FIXME: temporary hack */
int (*set_frontend_save) (struct dvb_frontend *,
struct dvb_frontend_parameters *);
};