patch-2.4.3 linux/drivers/media/video/msp3400.c

Next file: linux/drivers/media/video/planb.c
Previous file: linux/drivers/media/video/cpia_pp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.2/linux/drivers/media/video/msp3400.c linux/drivers/media/video/msp3400.c
@@ -1189,7 +1189,7 @@
 	DECLARE_MUTEX_LOCKED(sem);
 	struct msp3400c *msp;
         struct i2c_client *c;
-	int              rev1,rev2,i;
+	int              rev1,rev2=0,i;
 
         client_template.adapter = adap;
         client_template.addr = addr;
@@ -1517,7 +1517,7 @@
 			 (int)msp3400c_read(client, I2C_MSP3400C_DFP, 0x1c));
 		break;
 #endif
-	default:
+	default:;
 		/* nothing */
 	}
 	return 0;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)