ALSA: sparc: 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>
This commit is contained in:

committed by
Takashi Iwai

parent
cd196fe2d6
commit
688ed206e1
@@ -1980,7 +1980,7 @@ static irqreturn_t snd_dbri_interrupt(int irq, void *dev_id)
|
||||
/****************************************************************************
|
||||
PCM Interface
|
||||
****************************************************************************/
|
||||
static struct snd_pcm_hardware snd_dbri_pcm_hw = {
|
||||
static const struct snd_pcm_hardware snd_dbri_pcm_hw = {
|
||||
.info = SNDRV_PCM_INFO_MMAP |
|
||||
SNDRV_PCM_INFO_INTERLEAVED |
|
||||
SNDRV_PCM_INFO_BLOCK_TRANSFER |
|
||||
|
Reference in New Issue
Block a user