]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
gp8psk: treat firmware data as const
authorDavid Woodhouse <dwmw2@infradead.org>
Fri, 23 May 2008 23:13:08 +0000 (00:13 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Thu, 10 Jul 2008 13:26:34 +0000 (14:26 +0100)
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/media/dvb/dvb-usb/gp8psk.c

index 2653120673b77763e647e1d4a888bad14a5e221a..d965a923f3914e626d3f1cfe35a417ceb417b5dd 100644 (file)
@@ -86,7 +86,8 @@ static int gp8psk_load_bcm4500fw(struct dvb_usb_device *d)
 {
        int ret;
        const struct firmware *fw = NULL;
-       u8 *ptr, *buf;
+       const u8 *ptr;
+       u8 *buf;
        if ((ret = request_firmware(&fw, bcm4500_firmware,
                                        &d->udev->dev)) != 0) {
                err("did not find the bcm4500 firmware file. (%s) "