summaryrefslogtreecommitdiffstats
path: root/drivers/sound/gus_midi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/sound/gus_midi.c')
-rw-r--r--drivers/sound/gus_midi.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/sound/gus_midi.c b/drivers/sound/gus_midi.c
index 1705d0df2..6fb1ac762 100644
--- a/drivers/sound/gus_midi.c
+++ b/drivers/sound/gus_midi.c
@@ -9,7 +9,13 @@
* 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.
+ *
+ * Changes:
+ * 11-10-2000 Bartlomiej Zolnierkiewicz <bkz@linux-ide.org>
+ * Added __init to gus_midi_init()
*/
+
+#include "linux/init.h"
#include "sound_config.h"
#include "gus.h"
@@ -199,7 +205,7 @@ static struct midi_operations gus_midi_operations =
buffer_status: gus_midi_buffer_status,
};
-void gus_midi_init(struct address_info *hw_config)
+void __init gus_midi_init(struct address_info *hw_config)
{
int dev = sound_alloc_mididev();