aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/bt8xx/bttv-cards.c
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2008-05-24 00:11:44 +0100
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-07-10 14:26:28 +0100
commit4f2a0c3cdbead635f8aae729f550fcabcb73d1a5 (patch)
tree022a98d5f837ee9daab2463b231b9ece0e6ea08b /drivers/media/video/bt8xx/bttv-cards.c
parentcxgb3: treat firmware data as const (diff)
downloadlinux-dev-4f2a0c3cdbead635f8aae729f550fcabcb73d1a5.tar.xz
linux-dev-4f2a0c3cdbead635f8aae729f550fcabcb73d1a5.zip
bt8xx: treat firmware data as const
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/media/video/bt8xx/bttv-cards.c')
-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)
#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;