summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/tda10048.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/tda10048.c
parent99b6e4f511e38ea7beae35ee1b46b440151ce727 (diff)
downloadop-kernel-dev-bc179153ae2334efe28cf4f3300e024da7d83753.zip
op-kernel-dev-bc179153ae2334efe28cf4f3300e024da7d83753.tar.gz
dvb frontends: treat firmware data as const
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/media/dvb/frontends/tda10048.c')
-rw-r--r--drivers/media/dvb/frontends/tda10048.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/tda10048.c b/drivers/media/dvb/frontends/tda10048.c
index 090fb7d..0ab8d86b 100644
--- a/drivers/media/dvb/frontends/tda10048.c
+++ b/drivers/media/dvb/frontends/tda10048.c
@@ -233,7 +233,7 @@ static u8 tda10048_readreg(struct tda10048_state *state, u8 reg)
}
static int tda10048_writeregbulk(struct tda10048_state *state, u8 reg,
- u8 *data, u16 len)
+ const u8 *data, u16 len)
{
int ret = -EREMOTEIO;
struct i2c_msg msg;
OpenPOWER on IntegriCloud