Browse Source

bt8xx: treat firmware data as const

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
David Woodhouse 17 years ago
parent
commit
4f2a0c3cdb
1 changed files with 2 additions and 1 deletions
  1. 2 1
      drivers/media/video/bt8xx/bttv-cards.c

+ 2 - 1
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;