summaryrefslogtreecommitdiff
path: root/drivers/media/dvb/frontends/tdhd1.h
diff options
context:
space:
mode:
authorOliver Endriss <o.endriss@gmx.de>2008-09-04 20:35:19 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-10-12 09:36:57 -0200
commit83512e207479d0bdb83ee1e000a306af9e6e870e (patch)
treec7943cb69e5eaa44aaddb19f2ad1fa8938167a93 /drivers/media/dvb/frontends/tdhd1.h
parent9e615eac827094147401c44c9ff955b468d4fa79 (diff)
V4L/DVB (8890): budget: Add callback to load firmware for the TDHD1 tuner
Supply callback to load firmware for the TDHD1 tuner (using request_firmware). Signed-off-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends/tdhd1.h')
-rw-r--r--drivers/media/dvb/frontends/tdhd1.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/tdhd1.h b/drivers/media/dvb/frontends/tdhd1.h
index de8aac7d7ae0..51f170678650 100644
--- a/drivers/media/dvb/frontends/tdhd1.h
+++ b/drivers/media/dvb/frontends/tdhd1.h
@@ -28,6 +28,8 @@
#include "tda1004x.h"
+static int alps_tdhd1_204_request_firmware(struct dvb_frontend *fe, const struct firmware **fw, char *name);
+
static struct tda1004x_config alps_tdhd1_204a_config = {
.demod_address = 0x8,
.invert = 1,
@@ -35,6 +37,7 @@ static struct tda1004x_config alps_tdhd1_204a_config = {
.xtal_freq = TDA10046_XTAL_4M,
.agc_config = TDA10046_AGC_DEFAULT,
.if_freq = TDA10046_FREQ_3617,
+ .request_firmware = alps_tdhd1_204_request_firmware
};
static int alps_tdhd1_204a_tuner_set_params(struct dvb_frontend *fe, struct dvb_frontend_parameters *params)