[PATCH 3/3] snd-usb-6fire: Unmark struct snd_pcm_hardware const

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



struct snd_pcm_hardware pcm_hw is in fact changed in usb6fire_pcm_open()

Signed-off-by: René Herman <rene.herman@xxxxxxxxx>
---
 pcm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pcm.c b/pcm.c
index cce1312..8ccf638 100644
--- a/pcm.c
+++ b/pcm.c
@@ -40,7 +40,7 @@ enum { /* pcm streaming states */
 	STREAM_STOPPING
 };
 
-static const struct snd_pcm_hardware pcm_hw = {
+static struct snd_pcm_hardware pcm_hw = {
 	.info = SNDRV_PCM_INFO_MMAP |
 		SNDRV_PCM_INFO_INTERLEAVED |
 		SNDRV_PCM_INFO_BLOCK_TRANSFER |
-- 
2.17.1




[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux