ALSA: isa: make snd_pcm_hardware const

Make these const as they are only used in a copy operation.
Done using Coccinelle.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Este commit está contenido en:
Bhumika Goyal
2017-08-17 14:45:52 +05:30
cometido por Takashi Iwai
padre b6c0b71561
commit aec5465485
Se han modificado 9 ficheros con 17 adiciones y 17 borrados

Ver fichero

@@ -157,7 +157,7 @@ static int calc_rate_offset(int hz)
/*
*/
static struct snd_pcm_hardware emu8k_pcm_hw = {
static const struct snd_pcm_hardware emu8k_pcm_hw = {
#ifdef USE_NONINTERLEAVE
.info = SNDRV_PCM_INFO_NONINTERLEAVED,
#else