summaryrefslogtreecommitdiffstats
path: root/sound/aoa/core
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2020-01-03 09:16:27 +0100
committerTakashi Iwai <tiwai@suse.de>2020-01-03 09:24:01 +0100
commite6f2a617ac53bc0753b885ffb94379ff48b2e2df (patch)
treeb109afc901ed6257b49a0fe94bf03d3f47a88c17 /sound/aoa/core
parentc0a142e21bbaeddc9e0ed00045e0ac6c841f1769 (diff)
downloadlinux-e6f2a617ac53bc0753b885ffb94379ff48b2e2df.tar.bz2
ALSA: aoa: Constify snd_device_ops definitions
Now we may declare const for snd_device_ops definitions, so let's do it for optimization. There should be no functional changes by this patch. Link: https://lore.kernel.org/r/20200103081714.9560-12-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/aoa/core')
-rw-r--r--sound/aoa/core/alsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/aoa/core/alsa.c b/sound/aoa/core/alsa.c
index fcf30f0c3adb..b61081342266 100644
--- a/sound/aoa/core/alsa.c
+++ b/sound/aoa/core/alsa.c
@@ -59,7 +59,7 @@ void aoa_alsa_cleanup(void)
}
int aoa_snd_device_new(enum snd_device_type type,
- void * device_data, struct snd_device_ops * ops)
+ void *device_data, const struct snd_device_ops *ops)
{
struct snd_card *card = aoa_get_card();
int err;