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:

cometido por
Takashi Iwai

padre
b6c0b71561
commit
aec5465485
@@ -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
|
||||
|
Referencia en una nueva incidencia
Block a user