Coding style cleanup

This commit is contained in:
Jérôme Duval
2012-02-09 23:15:56 +01:00
parent 6ffb178a00
commit f40e4a90b7
@@ -10,6 +10,7 @@
* mpu401.c
*/
#include <ISA.h>
#include <KernelExport.h>
#include <OS.h>
@@ -20,6 +21,7 @@
#include "debug.h"
#include "mpu401_priv.h"
/* ----------
midi_create_device -
----- */
@@ -54,6 +56,8 @@ create_device(int port, void ** out_storage, uint32 workarounds,
return B_OK;
}
/*-----------------------------*/
/* Version 2 of mpu401 module */
/*-----------------------------*/
@@ -112,6 +116,7 @@ delete_device(void * storage)
return B_OK;
}
/* ----------
midi_open - handle open() calls
----- */
@@ -212,6 +217,7 @@ midi_open(void * storage, uint32 flags, void ** out_cookie)
return B_ERROR;
}
/* ----------
midi_close - handle close() calls
----- */
@@ -236,6 +242,7 @@ midi_close(void * cookie)
return B_OK;
}
/* ----------
midi_free - free up allocated memory
----- */
@@ -246,6 +253,7 @@ midi_free(void * cookie)
return B_OK;
}
/* ----------
midi_control - handle control() calls
----- */
@@ -308,6 +316,7 @@ midi_read(void *cookie, off_t pos, void *buffer, size_t *num_bytes)
return B_OK;
}
/* ----------
midi_write - handle write() calls
----- */
@@ -341,6 +350,8 @@ midi_write(void * cookie, off_t pos, const void * data, size_t * num_bytes)
return B_OK;
}
/* ----------
interrupt_hook - handle interrupts for mpu401 data
----- */
@@ -380,6 +391,7 @@ interrupt_hook(void * cookie)
return FALSE; //B_UNHANDLED_INTERRUPT
}
/*-----------------------------------------------------------------*/
uchar