提交 3a9282ca 编写于 作者: D David Woodhouse 提交者: David Woodhouse

gp8psk: treat firmware data as const

Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
上级 e62f89f2
...@@ -86,7 +86,8 @@ static int gp8psk_load_bcm4500fw(struct dvb_usb_device *d) ...@@ -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) "
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册