patch-2.3.41 linux/drivers/sbus/audio/amd7930.c

Next file: linux/drivers/sbus/audio/cs4231.c
Previous file: linux/drivers/pnp/isapnp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.40/linux/drivers/sbus/audio/amd7930.c linux/drivers/sbus/audio/amd7930.c
@@ -1,4 +1,4 @@
-/* $Id: amd7930.c,v 1.23 1999/11/19 09:55:58 davem Exp $
+/* $Id: amd7930.c,v 1.24 2000/01/22 05:10:27 anton Exp $
  * drivers/sbus/audio/amd7930.c
  *
  * Copyright (C) 1996,1997 Thomas K. Dyas (tdyas@eden.rutgers.edu)
@@ -1375,7 +1375,7 @@
 	/* Enable B channel transmit */
 	sbus_writeb(AMR_LIU_LMR1, info->regs + CR);
 	tmp = sbus_readb(info->regs + DR);
-	tmp |= AM_LIU_LMR1_B1_ENBL + chan;
+	tmp |= AM_LIU_LMR1_B1_ENABL + chan;
 	sbus_writeb(tmp, info->regs + DR);
 
 	/* Enable B channel interrupts */
@@ -1701,7 +1701,7 @@
 				continue;
 
 			if (amd7930_attach(&drivers[num_drivers],
-					   sdev->prom_node, sdev->my_bus, sdev) == 0)
+					   sdev->prom_node, sdev->bus, sdev) == 0)
 				num_drivers++;
 		}
 	}

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