From: David Woodhouse Date: Fri, 23 May 2008 23:13:08 +0000 (+0100) Subject: gp8psk: treat firmware data as const X-Git-Tag: v2.6.27-rc1~1094^2^2~41 X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=3a9282cacdb13466b9c745518237938434dbde0b;p=linux-2.6-omap-h63xx.git gp8psk: treat firmware data as const Signed-off-by: David Woodhouse --- diff --git a/drivers/media/dvb/dvb-usb/gp8psk.c b/drivers/media/dvb/dvb-usb/gp8psk.c index 2653120673b..d965a923f39 100644 --- a/drivers/media/dvb/dvb-usb/gp8psk.c +++ b/drivers/media/dvb/dvb-usb/gp8psk.c @@ -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) "