CKRM memory controller is not stable for long-term uptimes. Disabling! :(
[linux-2.6.git] / arch / um / drivers / hostaudio_kern.c
index 7f965c8..d574278 100644 (file)
 #include "os.h"
 
 struct hostaudio_state {
-       int fd;
+  int fd;
 };
 
 struct hostmixer_state {
-       int fd;
+  int fd;
 };
 
 #define HOSTAUDIO_DEV_DSP "/dev/sound/dsp"
@@ -189,7 +189,7 @@ static int hostaudio_open(struct inode *inode, struct file *file)
 #endif
 
         state = kmalloc(sizeof(struct hostaudio_state), GFP_KERNEL);
-        if(state == NULL) 
+        if(state == NULL)
                return(-ENOMEM);
 
         if(file->f_mode & FMODE_READ) r = 1;
@@ -214,10 +214,10 @@ static int hostaudio_release(struct inode *inode, struct file *file)
         printk("hostaudio: release called\n");
 #endif
 
-       os_close_file(state->fd);
+               os_close_file(state->fd);
         kfree(state);
 
-        return(0);
+       return(0);
 }
 
 /* /dev/mixer file operations */
@@ -271,10 +271,10 @@ static int hostmixer_release(struct inode *inode, struct file *file)
         printk("hostmixer: release called\n");
 #endif
 
-       os_close_file(state->fd);
+               os_close_file(state->fd);
         kfree(state);
 
-        return(0);
+       return(0);
 }