Commit 5d26b644 authored by Márton Németh's avatar Márton Németh Committed by Mauro Carvalho Chehab

V4L/DVB: smsir: make local variables static

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: default avatarMárton Németh <nm127@freemail.hu>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 3d36f5c6
...@@ -85,9 +85,9 @@ static struct keyboard_layout_map_t keyboard_layout_maps[] = { ...@@ -85,9 +85,9 @@ static struct keyboard_layout_map_t keyboard_layout_maps[] = {
{ } /* Terminating entry */ { } /* Terminating entry */
}; };
u32 ir_pos; static u32 ir_pos;
u32 ir_word; static u32 ir_word;
u32 ir_toggle; static u32 ir_toggle;
#define RC5_PUSH_BIT(dst, bit, pos) \ #define RC5_PUSH_BIT(dst, bit, pos) \
{ dst <<= 1; dst |= bit; pos++; } { dst <<= 1; dst |= bit; pos++; }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment