V4L/DVB: smsir: make local variables static
authorMárton Németh <nm127@freemail.hu>
Fri, 29 Jan 2010 20:42:17 +0000 (17:42 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 26 Feb 2010 18:10:51 +0000 (15:10 -0300)
Make the file local parameters static.

This will remove the following sparse warnings (see "make C=1"):
 * warning: symbol 'ir_pos' was not declared. Should it be static?
 * warning: symbol 'ir_word' was not declared. Should it be static?
 * warning: symbol 'ir_toggle' was not declared. Should it be static?

Signed-off-by: Márton Németh <nm127@freemail.hu>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/siano/smsir.c

index e3d776feeaca1d05bfe4e05374dbd1fec63097a9..a56eac76e0f0c95738d4faa3a00896b584296795 100644 (file)
@@ -85,9 +85,9 @@ static struct keyboard_layout_map_t keyboard_layout_maps[] = {
                { } /* Terminating entry */
 };
 
-u32 ir_pos;
-u32    ir_word;
-u32 ir_toggle;
+static u32 ir_pos;
+static u32 ir_word;
+static u32 ir_toggle;
 
 #define RC5_PUSH_BIT(dst, bit, pos)    \
        { dst <<= 1; dst |= bit; pos++; }