From: Anthony DeStefano Date: Fri, 20 Jun 2014 01:53:21 +0000 (-0300) Subject: [media] staging: solo6x10: fix for sparse warning message X-Git-Tag: v3.17-rc1~112^2~407 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7e49027e62b9cb8addcd00f7498d389469f119d4;p=thirdparty%2Fkernel%2Flinux.git [media] staging: solo6x10: fix for sparse warning message Define jpeg_dqt as static. Signed-off-by: Anthony DeStefano Signed-off-by: Ismael Luceno Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/staging/media/solo6x10/solo6x10-jpeg.h b/drivers/staging/media/solo6x10/solo6x10-jpeg.h index c5218ceeabca3..9e411857d6f75 100644 --- a/drivers/staging/media/solo6x10/solo6x10-jpeg.h +++ b/drivers/staging/media/solo6x10/solo6x10-jpeg.h @@ -110,7 +110,7 @@ static const unsigned char jpeg_header[] = { /* This is the byte marker for the start of the DQT */ #define DQT_START 17 #define DQT_LEN 138 -const unsigned char jpeg_dqt[4][DQT_LEN] = { +static const unsigned char jpeg_dqt[4][DQT_LEN] = { { 0xff, 0xdb, 0x00, 0x43, 0x00, 0x08, 0x06, 0x06, 0x07, 0x06, 0x05, 0x08, 0x07,