aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/ice1712/ice1712.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-10-17 03:21:48 -0400
committerTakashi Iwai <tiwai@suse.de>2012-10-17 03:23:51 -0400
commita2af050f8df6eeec29818639859f14eb237d6957 (patch)
tree01dcad35cafbeefc951a68dd0c0f51ecf396ad3a /sound/pci/ice1712/ice1712.h
parent77b0b254af72add59c8125cd8799f390bc508f2b (diff)
ALSA: ice17xx: Constify strings and string arrays
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ice1712/ice1712.h')
-rw-r--r--sound/pci/ice1712/ice1712.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/pci/ice1712/ice1712.h b/sound/pci/ice1712/ice1712.h
index 5149568b8fc1..e8b7c5ecfe00 100644
--- a/sound/pci/ice1712/ice1712.h
+++ b/sound/pci/ice1712/ice1712.h
@@ -383,7 +383,7 @@ struct snd_ice1712 {
383 unsigned char (*set_mclk)(struct snd_ice1712 *ice, unsigned int rate); 383 unsigned char (*set_mclk)(struct snd_ice1712 *ice, unsigned int rate);
384 int (*set_spdif_clock)(struct snd_ice1712 *ice, int type); 384 int (*set_spdif_clock)(struct snd_ice1712 *ice, int type);
385 int (*get_spdif_master_type)(struct snd_ice1712 *ice); 385 int (*get_spdif_master_type)(struct snd_ice1712 *ice);
386 char **ext_clock_names; 386 const char * const *ext_clock_names;
387 int ext_clock_count; 387 int ext_clock_count;
388 void (*pro_open)(struct snd_ice1712 *, struct snd_pcm_substream *); 388 void (*pro_open)(struct snd_ice1712 *, struct snd_pcm_substream *);
389#ifdef CONFIG_PM_SLEEP 389#ifdef CONFIG_PM_SLEEP
@@ -515,9 +515,9 @@ static inline u8 snd_ice1712_read(struct snd_ice1712 *ice, u8 addr)
515 515
516struct snd_ice1712_card_info { 516struct snd_ice1712_card_info {
517 unsigned int subvendor; 517 unsigned int subvendor;
518 char *name; 518 const char *name;
519 char *model; 519 const char *model;
520 char *driver; 520 const char *driver;
521 int (*chip_init)(struct snd_ice1712 *); 521 int (*chip_init)(struct snd_ice1712 *);
522 void (*chip_exit)(struct snd_ice1712 *); 522 void (*chip_exit)(struct snd_ice1712 *);
523 int (*build_controls)(struct snd_ice1712 *); 523 int (*build_controls)(struct snd_ice1712 *);