diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-17 23:24:45 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-17 23:24:45 -0300 |
commit | e9dbf3fb1ea6040bd393fbb0c1314475c978b838 (patch) | |
tree | ebfc4247752c1e531de31c89f3e8e9cf6ecd3507 /linux/drivers/media/dvb/frontends/sp887x.c | |
parent | 5d7e2f60cbdb5f84c0117590153567ea607618a8 (diff) | |
download | mediapointer-dvb-s2-e9dbf3fb1ea6040bd393fbb0c1314475c978b838.tar.gz mediapointer-dvb-s2-e9dbf3fb1ea6040bd393fbb0c1314475c978b838.tar.bz2 |
backport commit bc179153ae2334efe28cf4f3300e024da7d83753
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Author: David Woodhouse <dwmw2@infradead.org>
Date: Sat May 24 00:12:23 2008 +0100
dvb frontends: treat firmware data as const
kernel-sync:
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/dvb/frontends/sp887x.c')
-rw-r--r-- | linux/drivers/media/dvb/frontends/sp887x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/frontends/sp887x.c b/linux/drivers/media/dvb/frontends/sp887x.c index 49f55877f..4543609e1 100644 --- a/linux/drivers/media/dvb/frontends/sp887x.c +++ b/linux/drivers/media/dvb/frontends/sp887x.c @@ -140,7 +140,7 @@ static int sp887x_initial_setup (struct dvb_frontend* fe, const struct firmware u8 buf [BLOCKSIZE+2]; int i; int fw_size = fw->size; - unsigned char *mem = fw->data; + const unsigned char *mem = fw->data; dprintk("%s\n", __func__); |