unsigned int channels;
        unsigned int numid[SNDRV_MIXER_OSS_ITEM_COUNT];
        unsigned int capture_item;
-       struct snd_mixer_oss_assign_table *assigned;
+       const struct snd_mixer_oss_assign_table *assigned;
        unsigned int allocated: 1;
 };
 
        struct slot *p = chn->private_data;
        if (p) {
                if (p->allocated && p->assigned) {
-                       kfree(p->assigned->name);
-                       kfree(p->assigned);
+                       kfree_const(p->assigned->name);
+                       kfree_const(p->assigned);
                }
                kfree(p);
        }
 /* In a separate function to keep gcc 3.2 happy - do NOT merge this in
    snd_mixer_oss_build_input! */
 static int snd_mixer_oss_build_test_all(struct snd_mixer_oss *mixer,
-                                       struct snd_mixer_oss_assign_table *ptr,
+                                       const struct snd_mixer_oss_assign_table *ptr,
                                        struct slot *slot)
 {
        char str[64];
  * ptr_allocated means the entry is dynamically allocated (change via proc file).
  * when replace_old = 1, the old entry is replaced with the new one.
  */
-static int snd_mixer_oss_build_input(struct snd_mixer_oss *mixer, struct snd_mixer_oss_assign_table *ptr, int ptr_allocated, int replace_old)
+static int snd_mixer_oss_build_input(struct snd_mixer_oss *mixer,
+                                    const struct snd_mixer_oss_assign_table *ptr,
+                                    int ptr_allocated, int replace_old)
 {
        struct slot slot;
        struct slot *pslot;
 
 static void snd_mixer_oss_build(struct snd_mixer_oss *mixer)
 {
-       static struct snd_mixer_oss_assign_table table[] = {
+       static const struct snd_mixer_oss_assign_table table[] = {
                { SOUND_MIXER_VOLUME,   "Master",               0 },
                { SOUND_MIXER_VOLUME,   "Front",                0 }, /* fallback */
                { SOUND_MIXER_BASS,     "Tone Control - Bass",  0 },