aboutsummaryrefslogtreecommitdiffstats
path: root/sound/drivers/opl3
diff options
context:
space:
mode:
authorJonathan Herman <hermanjl@cs.unc.edu>2013-01-17 16:15:55 -0500
committerJonathan Herman <hermanjl@cs.unc.edu>2013-01-17 16:15:55 -0500
commit8dea78da5cee153b8af9c07a2745f6c55057fe12 (patch)
treea8f4d49d63b1ecc92f2fddceba0655b2472c5bd9 /sound/drivers/opl3
parent406089d01562f1e2bf9f089fd7637009ebaad589 (diff)
Patched in Tegra support.
Diffstat (limited to 'sound/drivers/opl3')
-rw-r--r--sound/drivers/opl3/opl3_lib.c1
-rw-r--r--sound/drivers/opl3/opl3_midi.c4
-rw-r--r--sound/drivers/opl3/opl3_oss.c1
-rw-r--r--sound/drivers/opl3/opl3_seq.c3
-rw-r--r--sound/drivers/opl3/opl3_synth.c1
5 files changed, 3 insertions, 7 deletions
diff --git a/sound/drivers/opl3/opl3_lib.c b/sound/drivers/opl3/opl3_lib.c
index 33d9a857a26..6e31e46ca39 100644
--- a/sound/drivers/opl3/opl3_lib.c
+++ b/sound/drivers/opl3/opl3_lib.c
@@ -26,7 +26,6 @@
26#include <sound/opl3.h> 26#include <sound/opl3.h>
27#include <asm/io.h> 27#include <asm/io.h>
28#include <linux/delay.h> 28#include <linux/delay.h>
29#include <linux/module.h>
30#include <linux/init.h> 29#include <linux/init.h>
31#include <linux/slab.h> 30#include <linux/slab.h>
32#include <linux/ioport.h> 31#include <linux/ioport.h>
diff --git a/sound/drivers/opl3/opl3_midi.c b/sound/drivers/opl3/opl3_midi.c
index 0c796bcbc0a..7d722a025d0 100644
--- a/sound/drivers/opl3/opl3_midi.c
+++ b/sound/drivers/opl3/opl3_midi.c
@@ -27,7 +27,7 @@
27 27
28extern char snd_opl3_regmap[MAX_OPL2_VOICES][4]; 28extern char snd_opl3_regmap[MAX_OPL2_VOICES][4];
29 29
30extern bool use_internal_drums; 30extern int use_internal_drums;
31 31
32static void snd_opl3_note_off_unsafe(void *p, int note, int vel, 32static void snd_opl3_note_off_unsafe(void *p, int note, int vel,
33 struct snd_midi_channel *chan); 33 struct snd_midi_channel *chan);
@@ -163,7 +163,7 @@ static int opl3_get_voice(struct snd_opl3 *opl3, int instr_4op,
163 struct best *bp; 163 struct best *bp;
164 164
165 for (i = 0; i < END; i++) { 165 for (i = 0; i < END; i++) {
166 best[i].time = (unsigned int)(-1); /* XXX MAX_?INT really */ 166 best[i].time = (unsigned int)(-1); /* XXX MAX_?INT really */;
167 best[i].voice = -1; 167 best[i].voice = -1;
168 } 168 }
169 169
diff --git a/sound/drivers/opl3/opl3_oss.c b/sound/drivers/opl3/opl3_oss.c
index c1cb249acfa..ade3ca52422 100644
--- a/sound/drivers/opl3/opl3_oss.c
+++ b/sound/drivers/opl3/opl3_oss.c
@@ -18,7 +18,6 @@
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 */ 19 */
20 20
21#include <linux/export.h>
22#include "opl3_voice.h" 21#include "opl3_voice.h"
23 22
24static int snd_opl3_open_seq_oss(struct snd_seq_oss_arg *arg, void *closure); 23static int snd_opl3_open_seq_oss(struct snd_seq_oss_arg *arg, void *closure);
diff --git a/sound/drivers/opl3/opl3_seq.c b/sound/drivers/opl3/opl3_seq.c
index 68399538e43..2d33f53d36b 100644
--- a/sound/drivers/opl3/opl3_seq.c
+++ b/sound/drivers/opl3/opl3_seq.c
@@ -25,14 +25,13 @@
25#include "opl3_voice.h" 25#include "opl3_voice.h"
26#include <linux/init.h> 26#include <linux/init.h>
27#include <linux/moduleparam.h> 27#include <linux/moduleparam.h>
28#include <linux/module.h>
29#include <sound/initval.h> 28#include <sound/initval.h>
30 29
31MODULE_AUTHOR("Uros Bizjak <uros@kss-loka.si>"); 30MODULE_AUTHOR("Uros Bizjak <uros@kss-loka.si>");
32MODULE_LICENSE("GPL"); 31MODULE_LICENSE("GPL");
33MODULE_DESCRIPTION("ALSA driver for OPL3 FM synth"); 32MODULE_DESCRIPTION("ALSA driver for OPL3 FM synth");
34 33
35bool use_internal_drums = 0; 34int use_internal_drums = 0;
36module_param(use_internal_drums, bool, 0444); 35module_param(use_internal_drums, bool, 0444);
37MODULE_PARM_DESC(use_internal_drums, "Enable internal OPL2/3 drums."); 36MODULE_PARM_DESC(use_internal_drums, "Enable internal OPL2/3 drums.");
38 37
diff --git a/sound/drivers/opl3/opl3_synth.c b/sound/drivers/opl3/opl3_synth.c
index 742a4b642fd..301acb6b9cf 100644
--- a/sound/drivers/opl3/opl3_synth.c
+++ b/sound/drivers/opl3/opl3_synth.c
@@ -20,7 +20,6 @@
20 */ 20 */
21 21
22#include <linux/slab.h> 22#include <linux/slab.h>
23#include <linux/export.h>
24#include <sound/opl3.h> 23#include <sound/opl3.h>
25#include <sound/asound_fm.h> 24#include <sound/asound_fm.h>
26 25