aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2008-05-23 19:13:08 -0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-07-10 09:26:34 -0400
commit3a9282cacdb13466b9c745518237938434dbde0b (patch)
treee254c0c69623c5403f6a2d393c753a48db0139ce
parente62f89f2aebd57f48687f139c20cf6375693b622 (diff)
gp8psk: treat firmware data as const
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-rw-r--r--drivers/media/dvb/dvb-usb/gp8psk.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/dvb/dvb-usb/gp8psk.c b/drivers/media/dvb/dvb-usb/gp8psk.c
index 2653120673b7..d965a923f391 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)
86{ 86{
87 int ret; 87 int ret;
88 const struct firmware *fw = NULL; 88 const struct firmware *fw = NULL;
89 u8 *ptr, *buf; 89 const u8 *ptr;
90 u8 *buf;
90 if ((ret = request_firmware(&fw, bcm4500_firmware, 91 if ((ret = request_firmware(&fw, bcm4500_firmware,
91 &d->udev->dev)) != 0) { 92 &d->udev->dev)) != 0) {
92 err("did not find the bcm4500 firmware file. (%s) " 93 err("did not find the bcm4500 firmware file. (%s) "