浏览代码

bt8xx: treat firmware data as const

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
David Woodhouse 17 年之前
父节点
当前提交
4f2a0c3cdb
共有 1 个文件被更改,包括 2 次插入1 次删除
  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;