forked from luck/tmp_suning_uos_patched
gp8psk: treat firmware data as const
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
This commit is contained in:
parent
e62f89f2ae
commit
3a9282cacd
@ -86,7 +86,8 @@ static int gp8psk_load_bcm4500fw(struct dvb_usb_device *d)
|
|||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
const struct firmware *fw = NULL;
|
const struct firmware *fw = NULL;
|
||||||
u8 *ptr, *buf;
|
const u8 *ptr;
|
||||||
|
u8 *buf;
|
||||||
if ((ret = request_firmware(&fw, bcm4500_firmware,
|
if ((ret = request_firmware(&fw, bcm4500_firmware,
|
||||||
&d->udev->dev)) != 0) {
|
&d->udev->dev)) != 0) {
|
||||||
err("did not find the bcm4500 firmware file. (%s) "
|
err("did not find the bcm4500 firmware file. (%s) "
|
||||||
|
Loading…
Reference in New Issue
Block a user