ALSA: usb-audio: make read-only array marker static const
[sfrench/cifs-2.6.git] / sound / usb / pcm.c
index e692ae04436a5adc09b4fe65cbe5dea99e129f14..d45d1d7e666447db9862b55dcec0d93152dc6c38 100644 (file)
@@ -1269,7 +1269,7 @@ static inline void fill_playback_urb_dsd_dop(struct snd_usb_substream *subs,
        unsigned int wrap = subs->buffer_bytes;
        u8 *dst = urb->transfer_buffer;
        u8 *src = runtime->dma_area;
-       u8 marker[] = { 0x05, 0xfa };
+       static const u8 marker[] = { 0x05, 0xfa };
        unsigned int queued = 0;
 
        /*