]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/media/dvb/frontends/sp8870.c
dvb frontends: treat firmware data as const
[linux-2.6-omap-h63xx.git] / drivers / media / dvb / frontends / sp8870.c
index aa78aa14aad927564108b19afa05a74efdabd646..1c9a9b4051b9efdbc8a4a9eba005d74f883c4e11 100644 (file)
@@ -98,7 +98,7 @@ static int sp8870_readreg (struct sp8870_state* state, u16 reg)
 static int sp8870_firmware_upload (struct sp8870_state* state, const struct firmware *fw)
 {
        struct i2c_msg msg;
-       char *fw_buf = fw->data;
+       const char *fw_buf = fw->data;
        int fw_pos;
        u8 tx_buf[255];
        int tx_len;