git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
drivers
/
media
/
dvb
/
dvb-usb
/
dvb-usb-firmware.c
diff --git
a/drivers/media/dvb/dvb-usb/dvb-usb-firmware.c
b/drivers/media/dvb/dvb-usb/dvb-usb-firmware.c
index
9222b0a
..
e1112e3
100644
(file)
--- a/
drivers/media/dvb/dvb-usb/dvb-usb-firmware.c
+++ b/
drivers/media/dvb/dvb-usb/dvb-usb-firmware.c
@@
-1,6
+1,6
@@
/* dvb-usb-firmware.c is part of the DVB USB library.
*
/* dvb-usb-firmware.c is part of the DVB USB library.
*
- * Copyright (C) 2004-
5
Patrick Boettcher (patrick.boettcher@desy.de)
+ * Copyright (C) 2004-
6
Patrick Boettcher (patrick.boettcher@desy.de)
* see dvb-usb-init.c for copyright information.
*
* This file contains functions for downloading the firmware to Cypress FX 1 and 2 based devices.
* see dvb-usb-init.c for copyright information.
*
* This file contains functions for downloading the firmware to Cypress FX 1 and 2 based devices.
@@
-24,9
+24,6
@@
static struct usb_cypress_controller cypress[] = {
{ .id = CYPRESS_FX2, .name = "Cypress FX2", .cpu_cs_register = 0xe600 },
};
{ .id = CYPRESS_FX2, .name = "Cypress FX2", .cpu_cs_register = 0xe600 },
};
-static int dvb_usb_get_hexline(const struct firmware *fw, struct hexline *hx,
- int *pos);
-
/*
* load a firmware packet to the device
*/
/*
* load a firmware packet to the device
*/
@@
-78,7
+75,7
@@
int usb_cypress_load_firmware(struct usb_device *udev, const struct firmware *fw
}
EXPORT_SYMBOL(usb_cypress_load_firmware);
}
EXPORT_SYMBOL(usb_cypress_load_firmware);
-int dvb_usb_download_firmware(struct usb_device *udev, struct dvb_usb_properties *props)
+int dvb_usb_download_firmware(struct usb_device *udev, struct dvb_usb_
device_
properties *props)
{
int ret;
const struct firmware *fw = NULL;
{
int ret;
const struct firmware *fw = NULL;
@@
-115,7
+112,7
@@
int dvb_usb_download_firmware(struct usb_device *udev, struct dvb_usb_properties
return ret;
}
return ret;
}
-
static
int dvb_usb_get_hexline(const struct firmware *fw, struct hexline *hx,
+int dvb_usb_get_hexline(const struct firmware *fw, struct hexline *hx,
int *pos)
{
u8 *b = (u8 *) &fw->data[*pos];
int *pos)
{
u8 *b = (u8 *) &fw->data[*pos];
@@
-146,3
+143,4
@@
static int dvb_usb_get_hexline(const struct firmware *fw, struct hexline *hx,
return *pos;
}
return *pos;
}
+EXPORT_SYMBOL(dvb_usb_get_hexline);