*/
        struct device *dev = ctx_to_dev(pctx);
        int  cabac = V4L2_MPEG_VIDEO_H264_ENTROPY_MODE_CABAC;
-       const unsigned char slice_header[] = { 0x00, 0x00, 0x00, 0x01,
-                                              0x41, 0x34, 0x07, 0x00};
+       static const unsigned char slice_header[] = {
+               0x00, 0x00, 0x00, 0x01,
+               0x41, 0x34, 0x07, 0x00
+       };
        int idr_pic_id = frame_num % 2;
        enum hva_picture_coding_type type;
        u32 frame_order = frame_num % ctrls->gop_size;
                                  unsigned int stream_size, unsigned int *size)
 {
        struct device *dev = ctx_to_dev(pctx);
-       const u8 start[] = { 0x00, 0x00, 0x00, 0x01 };
+       static const u8 start[] = { 0x00, 0x00, 0x00, 0x01 };
 
        dev_dbg(dev, "%s   %s stuffing bytes %d\n", pctx->name, __func__,
                stuffing_bytes);
                                 u8 *addr, u32 *size)
 {
        struct device *dev = ctx_to_dev(pctx);
-       const u8 start[] = { 0x00, 0x00, 0x00, 0x01 };
+       static const u8 start[] = { 0x00, 0x00, 0x00, 0x01 };
        struct hva_h264_stereo_video_sei info;
        u8 offset = 7;
        u8 msg = 0;