patch-2.4.21 linux-2.4.21/arch/cris/drivers/eeprom.c

Next file: linux-2.4.21/arch/cris/drivers/ethernet.c
Previous file: linux-2.4.21/arch/cris/drivers/ds1302.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/arch/cris/drivers/eeprom.c linux-2.4.21/arch/cris/drivers/eeprom.c
@@ -808,7 +808,7 @@
       i2c_outbyte( eeprom.select_cmd | 1 );
     }
 
-    if(i2c_getack());
+    if(i2c_getack())
     {
       break;
     }

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