patch-2.1.6 linux/drivers/sound/uart6850.c

Next file: linux/fs/affs/dir.c
Previous file: linux/drivers/sound/uart401.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.5/linux/drivers/sound/uart6850.c linux/drivers/sound/uart6850.c
@@ -4,7 +4,7 @@
 /*
  * Copyright (C) by Hannu Savolainen 1993-1996
  *
- * USS/Lite for Linux is distributed under the GNU GENERAL PUBLIC LICENSE (GPL)
+ * OSS/Free for Linux is distributed under the GNU GENERAL PUBLIC LICENSE (GPL)
  * Version 2 (June 1991). See the "COPYING" file distributed with this software
  * for more info.
  */
@@ -36,7 +36,7 @@
 static void 
 uart6850_cmd (unsigned char cmd)
 {
-  outb (cmd, COMDPORT);
+  outb ((cmd), COMDPORT);
 }
 static int 
 uart6850_read (void)
@@ -46,7 +46,7 @@
 static void 
 uart6850_write (unsigned char byte)
 {
-  outb (byte, DATAPORT);
+  outb ((byte), DATAPORT);
 }
 
 #define	OUTPUT_READY	0x02	/* Mask for data ready Bit */
@@ -138,7 +138,7 @@
   if (uart6850_opened)
     {
       printk ("Midi6850: Midi busy\n");
-      return -(EBUSY);
+      return -EBUSY;
     }
 
   ;
@@ -222,7 +222,7 @@
 static int
 uart6850_ioctl (int dev, unsigned cmd, caddr_t arg)
 {
-  return -(EINVAL);
+  return -EINVAL;
 }
 
 static void

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