diff options
author | Patrick Boettcher <pb@linuxtv.org> | 2006-09-19 11:51:33 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-10-03 14:12:27 -0400 |
commit | 136cafbf4a024b52ba0a10627217f03cea9ff9f8 (patch) | |
tree | cf827cb4d792a82a9c7b30bccc0db71547607472 /drivers/media/dvb/dvb-usb/dvb-usb-firmware.c | |
parent | 6870ab576c86a496869fbd5bb339da7e442ee7f5 (diff) |
V4L/DVB (4646): Misc. changes, DiB3000MC, MT2060
Changed the attach-function of the dib3000mc-driver to return only one
frontend. In case of multiple dib3000-chips on one board, one has to call the
i2c-enumeration manually before.
Added a field to Microtune 2060 config to output the clock to other
tuners/device on a board.
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/dvb-usb/dvb-usb-firmware.c')
-rw-r--r-- | drivers/media/dvb/dvb-usb/dvb-usb-firmware.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/media/dvb/dvb-usb/dvb-usb-firmware.c b/drivers/media/dvb/dvb-usb/dvb-usb-firmware.c index 122ff8157d18..e1112e39fb63 100644 --- a/drivers/media/dvb/dvb-usb/dvb-usb-firmware.c +++ b/drivers/media/dvb/dvb-usb/dvb-usb-firmware.c | |||
@@ -24,9 +24,6 @@ static struct usb_cypress_controller cypress[] = { | |||
24 | { .id = CYPRESS_FX2, .name = "Cypress FX2", .cpu_cs_register = 0xe600 }, | 24 | { .id = CYPRESS_FX2, .name = "Cypress FX2", .cpu_cs_register = 0xe600 }, |
25 | }; | 25 | }; |
26 | 26 | ||
27 | static int dvb_usb_get_hexline(const struct firmware *fw, struct hexline *hx, | ||
28 | int *pos); | ||
29 | |||
30 | /* | 27 | /* |
31 | * load a firmware packet to the device | 28 | * load a firmware packet to the device |
32 | */ | 29 | */ |
@@ -115,7 +112,7 @@ int dvb_usb_download_firmware(struct usb_device *udev, struct dvb_usb_device_pro | |||
115 | return ret; | 112 | return ret; |
116 | } | 113 | } |
117 | 114 | ||
118 | static int dvb_usb_get_hexline(const struct firmware *fw, struct hexline *hx, | 115 | int dvb_usb_get_hexline(const struct firmware *fw, struct hexline *hx, |
119 | int *pos) | 116 | int *pos) |
120 | { | 117 | { |
121 | u8 *b = (u8 *) &fw->data[*pos]; | 118 | u8 *b = (u8 *) &fw->data[*pos]; |
@@ -146,3 +143,4 @@ static int dvb_usb_get_hexline(const struct firmware *fw, struct hexline *hx, | |||
146 | 143 | ||
147 | return *pos; | 144 | return *pos; |
148 | } | 145 | } |
146 | EXPORT_SYMBOL(dvb_usb_get_hexline); | ||