summaryrefslogtreecommitdiff
path: root/sound/ppc/pmac.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2020-01-05 15:47:32 +0100
committerTakashi Iwai <tiwai@suse.de>2020-01-05 16:14:43 +0100
commit6e9ef32fab28835110b5981295e6895bcac3614b (patch)
tree1136703ec9c5618eff3076c71031f4696faf26e3 /sound/ppc/pmac.h
parentf16a4e960ab3475d71df6f0d968c5393f3eca2aa (diff)
ALSA: ppc: More constifications
Apply const prefix to each possible place: the static tables for rate, volume, etc. Just for minor optimization and no functional changes. Link: https://lore.kernel.org/r/20200105144823.29547-18-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/ppc/pmac.h')
-rw-r--r--sound/ppc/pmac.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/ppc/pmac.h b/sound/ppc/pmac.h
index 529f5a9f9039..a758caf689d2 100644
--- a/sound/ppc/pmac.h
+++ b/sound/ppc/pmac.h
@@ -104,7 +104,7 @@ struct snd_pmac {
struct resource rsrc[3];
int num_freqs;
- int *freq_table;
+ const int *freq_table;
unsigned int freqs_ok; /* bit flags */
unsigned int formats_ok; /* pcm hwinfo */
int active;