summaryrefslogtreecommitdiffstats
path: root/drivers/media/common/tuners/xc5000.c
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2008-05-24 00:13:34 +0100
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-07-10 14:26:36 +0100
commitc63e87e90abb5d3ecd05d6c6eba94163bf8c1760 (patch)
tree7fdd0fa1dc844f87fb42168ff3010703a1e28085 /drivers/media/common/tuners/xc5000.c
parent3a9282cacdb13466b9c745518237938434dbde0b (diff)
downloadop-kernel-dev-c63e87e90abb5d3ecd05d6c6eba94163bf8c1760.zip
op-kernel-dev-c63e87e90abb5d3ecd05d6c6eba94163bf8c1760.tar.gz
tuners: treat firmware data as const
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/media/common/tuners/xc5000.c')
-rw-r--r--drivers/media/common/tuners/xc5000.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/common/tuners/xc5000.c b/drivers/media/common/tuners/xc5000.c
index 7cf4f5b..4878d64 100644
--- a/drivers/media/common/tuners/xc5000.c
+++ b/drivers/media/common/tuners/xc5000.c
@@ -278,7 +278,7 @@ static int xc_read_reg(struct xc5000_priv *priv, u16 regAddr, u16 *i2cData)
return result;
}
-static int xc_load_i2c_sequence(struct dvb_frontend *fe, u8 i2c_sequence[])
+static int xc_load_i2c_sequence(struct dvb_frontend *fe, const u8 *i2c_sequence)
{
struct xc5000_priv *priv = fe->tuner_priv;
OpenPOWER on IntegriCloud