aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/sp8870.c
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2008-05-23 19:12:23 -0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-07-10 09:26:31 -0400
commitbc179153ae2334efe28cf4f3300e024da7d83753 (patch)
tree9c300ab3a81d43da5d30d633106626f82a58d564 /drivers/media/dvb/frontends/sp8870.c
parent99b6e4f511e38ea7beae35ee1b46b440151ce727 (diff)
dvb frontends: treat firmware data as const
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/media/dvb/frontends/sp8870.c')
-rw-r--r--drivers/media/dvb/frontends/sp8870.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/sp8870.c b/drivers/media/dvb/frontends/sp8870.c
index aa78aa14aad9..1c9a9b4051b9 100644
--- a/drivers/media/dvb/frontends/sp8870.c
+++ b/drivers/media/dvb/frontends/sp8870.c
@@ -98,7 +98,7 @@ static int sp8870_readreg (struct sp8870_state* state, u16 reg)
98static int sp8870_firmware_upload (struct sp8870_state* state, const struct firmware *fw) 98static int sp8870_firmware_upload (struct sp8870_state* state, const struct firmware *fw)
99{ 99{
100 struct i2c_msg msg; 100 struct i2c_msg msg;
101 char *fw_buf = fw->data; 101 const char *fw_buf = fw->data;
102 int fw_pos; 102 int fw_pos;
103 u8 tx_buf[255]; 103 u8 tx_buf[255];
104 int tx_len; 104 int tx_len;