aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/ice1712/ice1712.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2020-01-03 09:17:04 +0100
committerTakashi Iwai <tiwai@suse.de>2020-01-03 09:24:39 +0100
commitaeb0215c76990efcc0c3d6b11e130d176c040ff9 (patch)
tree47943fda52ec3e462033cb615faa3bac23651c42 /sound/pci/ice1712/ice1712.h
parentALSA: ca0106: Constify snd_ca0106_details (diff)
downloadlinux-dev-aeb0215c76990efcc0c3d6b11e130d176c040ff9.tar.xz
linux-dev-aeb0215c76990efcc0c3d6b11e130d176c040ff9.zip
ALSA: ice17xx: Constify snd_ice1712_card_info
The snd_ice1712_card_info objects are referred only as read-only. Let's make them const for further optimization. There should be no functional changes by this patch. Link: https://lore.kernel.org/r/20200103081714.9560-49-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ice1712/ice1712.h')
-rw-r--r--sound/pci/ice1712/ice1712.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/ice1712/ice1712.h b/sound/pci/ice1712/ice1712.h
index 88145708a8a7..cd02710d8271 100644
--- a/sound/pci/ice1712/ice1712.h
+++ b/sound/pci/ice1712/ice1712.h
@@ -316,7 +316,7 @@ struct snd_ice1712 {
struct snd_info_entry *proc_entry;
struct snd_ice1712_eeprom eeprom;
- struct snd_ice1712_card_info *card_info;
+ const struct snd_ice1712_card_info *card_info;
unsigned int pro_volumes[20];
unsigned int omni:1; /* Delta Omni I/O */