patch-2.1.106 linux/drivers/char/msp3400.c

Next file: linux/drivers/char/nvram.c
Previous file: linux/drivers/char/misc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.105/linux/drivers/char/msp3400.c linux/drivers/char/msp3400.c
@@ -916,7 +916,7 @@
 	if (-1 == msp3400c_reset(msp->bus)) {
 		UNLOCK_I2C_BUS(msp->bus);
 		kfree(msp);
-		return -1;
+		return -EIO;
 	}
     
 	msp3400c_setmode(msp, MSP_MODE_FM_TERRA);
@@ -1088,6 +1088,8 @@
 	msp3400c_detach,
 	msp3400c_command
 };
+
+EXPORT_NO_SYMBOLS;
 
 #ifdef MODULE
 int init_module(void)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov