diff options
author | Márton Németh <nm127@freemail.hu> | 2010-01-29 15:42:17 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-02-26 13:10:51 -0500 |
commit | 5d26b6443292027314a2e2c9178140e60acd3587 (patch) | |
tree | b54b4a11ed0dbc68ccb0f293c529277c950ce9e7 /drivers/media/dvb | |
parent | 3d36f5c652d9d1b4406b0f8f32d9452eaad8e33a (diff) |
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: Márton Németh <nm127@freemail.hu>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb')
-rw-r--r-- | drivers/media/dvb/siano/smsir.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/dvb/siano/smsir.c b/drivers/media/dvb/siano/smsir.c index e3d776feeaca..a56eac76e0f0 100644 --- a/drivers/media/dvb/siano/smsir.c +++ b/drivers/media/dvb/siano/smsir.c | |||
@@ -85,9 +85,9 @@ static struct keyboard_layout_map_t keyboard_layout_maps[] = { | |||
85 | { } /* Terminating entry */ | 85 | { } /* Terminating entry */ |
86 | }; | 86 | }; |
87 | 87 | ||
88 | u32 ir_pos; | 88 | static u32 ir_pos; |
89 | u32 ir_word; | 89 | static u32 ir_word; |
90 | u32 ir_toggle; | 90 | static u32 ir_toggle; |
91 | 91 | ||
92 | #define RC5_PUSH_BIT(dst, bit, pos) \ | 92 | #define RC5_PUSH_BIT(dst, bit, pos) \ |
93 | { dst <<= 1; dst |= bit; pos++; } | 93 | { dst <<= 1; dst |= bit; pos++; } |