aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/vx222/vx222_ops.c
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2008-05-23 19:01:40 -0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-07-10 09:26:06 -0400
commitc2ba47d776bf9a45e15f28fc73ad44877437bef9 (patch)
treebf3fed74b00c15730801eea6c5071e3a39609be3 /sound/pci/vx222/vx222_ops.c
parentb0d31d6b28c7ca2ed78ce16ec649c0aac383a3fe (diff)
vx222: treat firmware data as const
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'sound/pci/vx222/vx222_ops.c')
-rw-r--r--sound/pci/vx222/vx222_ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/vx222/vx222_ops.c b/sound/pci/vx222/vx222_ops.c
index b4bfc1acde88..631f3a639993 100644
--- a/sound/pci/vx222/vx222_ops.c
+++ b/sound/pci/vx222/vx222_ops.c
@@ -359,7 +359,7 @@ static int vx2_load_xilinx_binary(struct vx_core *chip, const struct firmware *x
359{ 359{
360 unsigned int i; 360 unsigned int i;
361 unsigned int port; 361 unsigned int port;
362 unsigned char *image; 362 const unsigned char *image;
363 363
364 /* XILINX reset (wait at least 1 milisecond between reset on and off). */ 364 /* XILINX reset (wait at least 1 milisecond between reset on and off). */
365 vx_outl(chip, CNTRL, VX_CNTRL_REGISTER_VALUE | VX_XILINX_RESET_MASK); 365 vx_outl(chip, CNTRL, VX_CNTRL_REGISTER_VALUE | VX_XILINX_RESET_MASK);