diff options
author | David Woodhouse <dwmw2@infradead.org> | 2008-05-23 19:12:23 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2008-07-10 09:26:31 -0400 |
commit | bc179153ae2334efe28cf4f3300e024da7d83753 (patch) | |
tree | 9c300ab3a81d43da5d30d633106626f82a58d564 /drivers/media/dvb/frontends/tda10048.c | |
parent | 99b6e4f511e38ea7beae35ee1b46b440151ce727 (diff) |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/tda10048.c b/drivers/media/dvb/frontends/tda10048.c index 090fb7dd93c6..0ab8d86b3ae3 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) | |||
233 | } | 233 | } |
234 | 234 | ||
235 | static int tda10048_writeregbulk(struct tda10048_state *state, u8 reg, | 235 | static int tda10048_writeregbulk(struct tda10048_state *state, u8 reg, |
236 | u8 *data, u16 len) | 236 | const u8 *data, u16 len) |
237 | { | 237 | { |
238 | int ret = -EREMOTEIO; | 238 | int ret = -EREMOTEIO; |
239 | struct i2c_msg msg; | 239 | struct i2c_msg msg; |