aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/nxt200x.c
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2008-05-24 00:12:23 +0100
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-07-10 14:26:31 +0100
commitbc179153ae2334efe28cf4f3300e024da7d83753 (patch)
tree9c300ab3a81d43da5d30d633106626f82a58d564 /drivers/media/dvb/frontends/nxt200x.c
parent99b6e4f511e38ea7beae35ee1b46b440151ce727 (diff)
downloadkernel_samsung_smdk4412-bc179153ae2334efe28cf4f3300e024da7d83753.zip
kernel_samsung_smdk4412-bc179153ae2334efe28cf4f3300e024da7d83753.tar.gz
kernel_samsung_smdk4412-bc179153ae2334efe28cf4f3300e024da7d83753.tar.bz2
dvb frontends: treat firmware data as const
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/media/dvb/frontends/nxt200x.c')
-rw-r--r--drivers/media/dvb/frontends/nxt200x.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/nxt200x.c b/drivers/media/dvb/frontends/nxt200x.c
index 23d0228..af29835 100644
--- a/drivers/media/dvb/frontends/nxt200x.c
+++ b/drivers/media/dvb/frontends/nxt200x.c
@@ -93,7 +93,8 @@ static u8 i2c_readbytes (struct nxt200x_state* state, u8 addr, u8* buf, u8 len)
return 0;
}
-static int nxt200x_writebytes (struct nxt200x_state* state, u8 reg, u8 *buf, u8 len)
+static int nxt200x_writebytes (struct nxt200x_state* state, u8 reg,
+ const u8 *buf, u8 len)
{
u8 buf2 [len+1];
int err;