summaryrefslogtreecommitdiffstats
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
parent2c733a16784021c7c6a0c10e800937f0645d0a36 (diff)
downloadop-kernel-dev-4f2a0c3cdbead635f8aae729f550fcabcb73d1a5.zip
op-kernel-dev-4f2a0c3cdbead635f8aae729f550fcabcb73d1a5.tar.gz
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 8ef0424..1c56ae9 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;
OpenPOWER on IntegriCloud