#include "ca0106.h"
 
-static struct snd_ca0106_details ca0106_chip_details[] = {
+static const struct snd_ca0106_details ca0106_chip_details[] = {
         /* Sound Blaster X-Fi Extreme Audio. This does not have an AC97. 53SB079000000 */
         /* It is really just a normal SB Live 24bit. */
         /* Tested:
 }
 
 static int snd_ca0106_channel_dac(struct snd_ca0106 *chip,
-                                 struct snd_ca0106_details *details,
+                                 const struct snd_ca0106_details *details,
                                  int channel_id)
 {
        switch (channel_id) {
                                         struct snd_ca0106 **rchip)
 {
        struct snd_ca0106 *chip;
-       struct snd_ca0106_details *c;
+       const struct snd_ca0106_details *c;
        int err;
        static const struct snd_device_ops ops = {
                .dev_free = snd_ca0106_dev_free,
 
 };
 
 static struct snd_kcontrol_new
-snd_ca0106_volume_spi_dac_ctl(struct snd_ca0106_details *details,
+snd_ca0106_volume_spi_dac_ctl(const struct snd_ca0106_details *details,
                              int channel_id)
 {
        struct snd_kcontrol_new spi_switch = {0};