From: David Woodhouse <dwmw2@infradead.org>
Date: Fri, 23 May 2008 23:11:44 +0000 (+0100)
Subject: bt8xx: treat firmware data as const
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4f2a0c3cdbead635f8aae729f550fcabcb73d1a5;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git

bt8xx: treat firmware data as const

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
---

diff --git a/drivers/media/video/bt8xx/bttv-cards.c b/drivers/media/video/bt8xx/bttv-cards.c
index 8ef0424c26c4..1c56ae92ce74 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;