patch-2.0.3 linux/drivers/sound/pas2_card.c

Next file: linux/drivers/sound/pas2_mixer.c
Previous file: linux/drivers/sound/opl3.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.2/linux/drivers/sound/pas2_card.c linux/drivers/sound/pas2_card.c
@@ -25,7 +25,7 @@
  * be relative to the given base -register
  */
 
-int             translat_code;
+int             translate_code;
 static int      pas_intr_mask = 0;
 static int      pas_irq = 0;
 static int      pas_sb_base = 0;
@@ -46,13 +46,13 @@
 unsigned char
 pas_read (int ioaddr)
 {
-  return inb (ioaddr ^ translat_code);
+  return inb (ioaddr ^ translate_code);
 }
 
 void
 pas_write (unsigned char data, int ioaddr)
 {
-  outb (data, ioaddr ^ translat_code);
+  outb (data, ioaddr ^ translate_code);
 }
 
 /******************* Begin of the Interrupt Handler ********************/
@@ -284,7 +284,7 @@
 
   outb (0xBC, 0x9A01);		/* Activate first board */
   outb (hw_config->io_base >> 2, 0x9A01);	/* Set base address */
-  translat_code = 0x388 ^ hw_config->io_base;
+  translate_code = 0x388 ^ hw_config->io_base;
   pas_write (1, 0xBF88);	/* Select one wait states */
 
   board_id = pas_read (0x0B8B);

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