ALSA: ice17xx: Constify strings and string arrays
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
@@ -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 *);
|
||||
|
Reference in New Issue
Block a user