diff mbox

[1/6] Staging: tm6000: fix macros coding style issue and initialise statics to 0 in tm6000-core.c

Message ID 1287567258-18601-1-git-send-email-ruslan@rpisarev.org.ua (mailing list archive)
State Accepted
Headers show

Commit Message

ruslanpisarev@gmail.com Oct. 20, 2010, 9:34 a.m. UTC
None
diff mbox

Patch

diff --git a/drivers/staging/tm6000/tm6000-core.c b/drivers/staging/tm6000/tm6000-core.c
index cded411..9c0bf84 100644
--- a/drivers/staging/tm6000/tm6000-core.c
+++ b/drivers/staging/tm6000/tm6000-core.c
@@ -30,14 +30,14 @@ 
 #include <media/v4l2-common.h>
 #include <media/tuner.h>
 
-#define USB_TIMEOUT	5*HZ /* ms */
+#define USB_TIMEOUT	(5*HZ) /* ms */
 
 int tm6000_read_write_usb(struct tm6000_core *dev, u8 req_type, u8 req,
 			  u16 value, u16 index, u8 *buf, u16 len)
 {
 	int          ret, i;
 	unsigned int pipe;
-	static int   ini = 0, last = 0, n = 0;
+	static int   ini, last, n;
 	u8	     *data = NULL;
 
 	if (len)