aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/ice1712/ice1712.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-10-17 09:21:48 +0200
committerTakashi Iwai <tiwai@suse.de>2012-10-17 09:23:51 +0200
commita2af050f8df6eeec29818639859f14eb237d6957 (patch)
tree01dcad35cafbeefc951a68dd0c0f51ecf396ad3a /sound/pci/ice1712/ice1712.h
parentALSA: ice1712: Add Philips PSC724 Ultimate Edge (diff)
downloadlinux-dev-a2af050f8df6eeec29818639859f14eb237d6957.tar.xz
linux-dev-a2af050f8df6eeec29818639859f14eb237d6957.zip
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 {
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 *);