diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-17 23:33:07 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-17 23:33:07 -0300 |
commit | d0962d98c8f55e52535571ce8fae4fe5b7a52a9a (patch) | |
tree | fcaf187b6c672d2a72fcc06d3fed5e6b32412252 /linux/drivers/media/video/bt8xx/bttv-cards.c | |
parent | 29bd6d54d1d4f3740492929737b447e6e2f5135a (diff) | |
download | mediapointer-dvb-s2-d0962d98c8f55e52535571ce8fae4fe5b7a52a9a.tar.gz mediapointer-dvb-s2-d0962d98c8f55e52535571ce8fae4fe5b7a52a9a.tar.bz2 |
backport commit 4f2a0c3cdbead635f8aae729f550fcabcb73d1a5
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Author: David Woodhouse <dwmw2@infradead.org>
Date: Sat May 24 00:11:44 2008 +0100
bt8xx: treat firmware data as const
kernel-sync:
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/bt8xx/bttv-cards.c')
-rw-r--r-- | linux/drivers/media/video/bt8xx/bttv-cards.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/drivers/media/video/bt8xx/bttv-cards.c b/linux/drivers/media/video/bt8xx/bttv-cards.c index df2dfd2ba..ff9d09f09 100644 --- a/linux/drivers/media/video/bt8xx/bttv-cards.c +++ b/linux/drivers/media/video/bt8xx/bttv-cards.c @@ -3809,7 +3809,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; |