media: cx18: make array mapping static, makes object smaller
[sfrench/cifs-2.6.git] / drivers / media / pci / cx18 / cx18-ioctl.c
index 85f3e730753854306f53156da8e8278d80b7f02c..fa57e12f2ac8f0d94c3b178263afd43d25fb30d1 100644 (file)
@@ -664,7 +664,7 @@ static int _cx18_process_idx_data(struct cx18_buffer *buf,
        struct cx18_enc_idx_entry *e_buf;
 
        /* Frame type lookup: 1=I, 2=P, 4=B */
-       const int mapping[8] = {
+       static const int mapping[8] = {
                -1, V4L2_ENC_IDX_FRAME_I, V4L2_ENC_IDX_FRAME_P,
                -1, V4L2_ENC_IDX_FRAME_B, -1, -1, -1
        };