]> err.no Git - linux-2.6/blobdiff - sound/core/control.c
[PATCH] optimise 64bit unaligned access on 32bit kernel
[linux-2.6] / sound / core / control.c
index f4ea6bff1dd3b133ddf528f1cc272c1f647c3070..227f3cf02771605d11e8ddd32c565bc902d75d7d 100644 (file)
@@ -215,7 +215,7 @@ snd_kcontrol_t *snd_ctl_new(snd_kcontrol_t * control, unsigned int access)
  *
  * Returns the pointer of the newly generated instance, or NULL on failure.
  */
-snd_kcontrol_t *snd_ctl_new1(snd_kcontrol_new_t * ncontrol, void *private_data)
+snd_kcontrol_t *snd_ctl_new1(const snd_kcontrol_new_t * ncontrol, void *private_data)
 {
        snd_kcontrol_t kctl;
        unsigned int access;
@@ -1102,7 +1102,7 @@ static long snd_ctl_ioctl(struct file *file, unsigned int cmd, unsigned long arg
                }
        }
        up_read(&snd_ioctl_rwsem);
-       snd_printd("unknown ioctl = 0x%x\n", cmd);
+       snd_printdd("unknown ioctl = 0x%x\n", cmd);
        return -ENOTTY;
 }