aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2008-05-23 19:11:44 -0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-07-10 09:26:28 -0400
commit4f2a0c3cdbead635f8aae729f550fcabcb73d1a5 (patch)
tree022a98d5f837ee9daab2463b231b9ece0e6ea08b
parent2c733a16784021c7c6a0c10e800937f0645d0a36 (diff)
bt8xx: treat firmware data as const
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-rw-r--r--drivers/media/video/bt8xx/bttv-cards.c3
1 files changed, 2 insertions, 1 deletions
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)
3768#define BTTV_ALT_DCLK 0x100000 3768#define BTTV_ALT_DCLK 0x100000
3769#define BTTV_ALT_NCONFIG 0x800000 3769#define BTTV_ALT_NCONFIG 0x800000
3770 3770
3771static int __devinit pvr_altera_load(struct bttv *btv, u8 *micro, u32 microlen) 3771static int __devinit pvr_altera_load(struct bttv *btv, const u8 *micro,
3772 u32 microlen)
3772{ 3773{
3773 u32 n; 3774 u32 n;
3774 u8 bits; 3775 u8 bits;