From a2af050f8df6eeec29818639859f14eb237d6957 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Wed, 17 Oct 2012 09:21:48 +0200 Subject: ALSA: ice17xx: Constify strings and string arrays Signed-off-by: Takashi Iwai --- sound/pci/ice1712/ice1712.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sound/pci/ice1712/ice1712.h') 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 { unsigned char (*set_mclk)(struct snd_ice1712 *ice, unsigned int rate); int (*set_spdif_clock)(struct snd_ice1712 *ice, int type); int (*get_spdif_master_type)(struct snd_ice1712 *ice); - char **ext_clock_names; + const char * const *ext_clock_names; int ext_clock_count; void (*pro_open)(struct snd_ice1712 *, struct snd_pcm_substream *); #ifdef CONFIG_PM_SLEEP @@ -515,9 +515,9 @@ static inline u8 snd_ice1712_read(struct snd_ice1712 *ice, u8 addr) struct snd_ice1712_card_info { unsigned int subvendor; - char *name; - char *model; - char *driver; + const char *name; + const char *model; + const char *driver; int (*chip_init)(struct snd_ice1712 *); void (*chip_exit)(struct snd_ice1712 *); int (*build_controls)(struct snd_ice1712 *); -- cgit