From: David Woodhouse Date: Fri, 23 May 2008 23:11:44 +0000 (+0100) Subject: bt8xx: treat firmware data as const X-Git-Tag: v2.6.27-rc1~1094^2^2~45 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f2a0c3cdbead635f8aae729f550fcabcb73d1a5;p=linux-2.6 bt8xx: treat firmware data as const Signed-off-by: David Woodhouse --- diff --git a/drivers/media/video/bt8xx/bttv-cards.c b/drivers/media/video/bt8xx/bttv-cards.c index 8ef0424c26..1c56ae92ce 100644 --- a/drivers/media/video/bt8xx/bttv-cards.c +++ b/drivers/media/video/bt8xx/bttv-cards.c @@ -3768,7 +3768,8 @@ static int terratec_active_radio_upgrade(struct bttv *btv) #define BTTV_ALT_DCLK 0x100000 #define BTTV_ALT_NCONFIG 0x800000 -static int __devinit pvr_altera_load(struct bttv *btv, u8 *micro, u32 microlen) +static int __devinit pvr_altera_load(struct bttv *btv, const u8 *micro, + u32 microlen) { u32 n; u8 bits;