diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-17 16:15:55 -0500 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-17 16:15:55 -0500 |
commit | 8dea78da5cee153b8af9c07a2745f6c55057fe12 (patch) | |
tree | a8f4d49d63b1ecc92f2fddceba0655b2472c5bd9 /sound/drivers/opl3 | |
parent | 406089d01562f1e2bf9f089fd7637009ebaad589 (diff) |
Patched in Tegra support.
Diffstat (limited to 'sound/drivers/opl3')
-rw-r--r-- | sound/drivers/opl3/opl3_lib.c | 1 | ||||
-rw-r--r-- | sound/drivers/opl3/opl3_midi.c | 4 | ||||
-rw-r--r-- | sound/drivers/opl3/opl3_oss.c | 1 | ||||
-rw-r--r-- | sound/drivers/opl3/opl3_seq.c | 3 | ||||
-rw-r--r-- | sound/drivers/opl3/opl3_synth.c | 1 |
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 | ||
28 | extern char snd_opl3_regmap[MAX_OPL2_VOICES][4]; | 28 | extern char snd_opl3_regmap[MAX_OPL2_VOICES][4]; |
29 | 29 | ||
30 | extern bool use_internal_drums; | 30 | extern int use_internal_drums; |
31 | 31 | ||
32 | static void snd_opl3_note_off_unsafe(void *p, int note, int vel, | 32 | static 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 | ||
24 | static int snd_opl3_open_seq_oss(struct snd_seq_oss_arg *arg, void *closure); | 23 | static 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 | ||
31 | MODULE_AUTHOR("Uros Bizjak <uros@kss-loka.si>"); | 30 | MODULE_AUTHOR("Uros Bizjak <uros@kss-loka.si>"); |
32 | MODULE_LICENSE("GPL"); | 31 | MODULE_LICENSE("GPL"); |
33 | MODULE_DESCRIPTION("ALSA driver for OPL3 FM synth"); | 32 | MODULE_DESCRIPTION("ALSA driver for OPL3 FM synth"); |
34 | 33 | ||
35 | bool use_internal_drums = 0; | 34 | int use_internal_drums = 0; |
36 | module_param(use_internal_drums, bool, 0444); | 35 | module_param(use_internal_drums, bool, 0444); |
37 | MODULE_PARM_DESC(use_internal_drums, "Enable internal OPL2/3 drums."); | 36 | MODULE_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 | ||