Skip to contentSkip to conversation

staging: media: solo6x10: solo6x10-jpeg.h: Fix sparse warning

PATCH In review Tair Rzayev 2 participants 2 messages May 31, 2014 – Jun 19, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: media: solo6x10: solo6x10-jpeg.h: Fix sparse warning

Make jpeg_dqt[][] static

---
 drivers/staging/media/solo6x10/solo6x10-jpeg.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/media/solo6x10/solo6x10-jpeg.h +1 -1
index c5218ce..9e41185 100644
@@ -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,
Signature · 1 line
1.9.1
maintainer
#1 lore raw
Quoted 6 lines · Tair Rzayev

Make jpeg_dqt[][] static

---
 drivers/staging/media/solo6x10/solo6x10-jpeg.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Please always use scripts/get_maintainer.pl to determine who to send patches to (hint, I can't do anything with this one...)

greg k-h