patch-2.4.0-test9 linux/drivers/sound/cs4232.c

Next file: linux/drivers/sound/cs4281.c
Previous file: linux/drivers/sound/cmpci.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test8/linux/drivers/sound/cs4232.c linux/drivers/sound/cs4232.c
@@ -39,6 +39,7 @@
  *                                       Tropez+ (WaveFront) support
  *	Christoph Hellwig	Adapted to module_init/module_exit,
  * 					simple cleanups
+ * 	Arnaldo C. de Melo	got rid of attach_uart401
  */
 
 #include <linux/config.h>
@@ -255,10 +256,9 @@
 		hw_config2.driver_use_2 = 0;
 		hw_config2.card_subtype = 0;
 
-		if (probe_uart401(&hw_config2))
+		if (probe_uart401(&hw_config2, THIS_MODULE))
 		{
 			mpu_detected = 1;
-			attach_uart401(&hw_config2, THIS_MODULE);
 		}
 		else
 		{

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