aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/common/tuners/tuner-xc2028.c
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2008-05-23 19:13:34 -0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-07-10 09:26:36 -0400
commitc63e87e90abb5d3ecd05d6c6eba94163bf8c1760 (patch)
tree7fdd0fa1dc844f87fb42168ff3010703a1e28085 /drivers/media/common/tuners/tuner-xc2028.c
parent3a9282cacdb13466b9c745518237938434dbde0b (diff)
tuners: treat firmware data as const
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/media/common/tuners/tuner-xc2028.c')
-rw-r--r--drivers/media/common/tuners/tuner-xc2028.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/common/tuners/tuner-xc2028.c b/drivers/media/common/tuners/tuner-xc2028.c
index 0cbde17bfbb7..30eb07b7f9ef 100644
--- a/drivers/media/common/tuners/tuner-xc2028.c
+++ b/drivers/media/common/tuners/tuner-xc2028.c
@@ -254,7 +254,7 @@ static int load_all_firmwares(struct dvb_frontend *fe)
254{ 254{
255 struct xc2028_data *priv = fe->tuner_priv; 255 struct xc2028_data *priv = fe->tuner_priv;
256 const struct firmware *fw = NULL; 256 const struct firmware *fw = NULL;
257 unsigned char *p, *endp; 257 const unsigned char *p, *endp;
258 int rc = 0; 258 int rc = 0;
259 int n, n_array; 259 int n, n_array;
260 char name[33]; 260 char name[33];