diff mbox

smsir: make local variables static

Message ID 4B634829.5090706@freemail.hu (mailing list archive)
State Accepted
Headers show

Commit Message

Németh Márton Jan. 29, 2010, 8:42 p.m. UTC
None
diff mbox

Patch

diff -r 8b9a62386b64 linux/drivers/media/dvb/siano/smsir.c
--- a/linux/drivers/media/dvb/siano/smsir.c	Fri Jan 29 01:23:57 2010 -0200
+++ b/linux/drivers/media/dvb/siano/smsir.c	Fri Jan 29 21:39:06 2010 +0100
@@ -85,9 +85,9 @@ 
 		{ } /* 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++; }