summaryrefslogtreecommitdiffstats
path: root/sound/pci/ca0106/ca_midi.c
diff options
context:
space:
mode:
authorJames Courtier-Dutton <James@superbug.co.uk>2005-10-22 11:45:55 +0200
committerJaroslav Kysela <perex@suse.cz>2005-11-04 13:19:37 +0100
commit7cf4783b31607ad13b84bed14ea2ca446364985a (patch)
tree0774e3f2d1474b82270e624cdc17f5ef010439b7 /sound/pci/ca0106/ca_midi.c
parentd3d579f84ebf701dedd22ba696d1738ed6759ef7 (diff)
[ALSA] ca0106: Cosmetic changes.
Modules: CA0106 driver Just tidying up the code. Making more functions static. Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
Diffstat (limited to 'sound/pci/ca0106/ca_midi.c')
-rw-r--r--sound/pci/ca0106/ca_midi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/ca0106/ca_midi.c b/sound/pci/ca0106/ca_midi.c
index f439d14876b..9cc0c67ace9 100644
--- a/sound/pci/ca0106/ca_midi.c
+++ b/sound/pci/ca0106/ca_midi.c
@@ -49,7 +49,7 @@ static void ca_midi_clear_rx(ca_midi_t *midi)
#endif
}
-void ca_midi_interrupt(ca_midi_t *midi, unsigned int status) {
+static void ca_midi_interrupt(ca_midi_t *midi, unsigned int status) {
unsigned char byte;
if (midi->rmidi == NULL) {
@@ -258,7 +258,7 @@ static snd_rawmidi_ops_t ca_midi_input =
.trigger = ca_midi_input_trigger,
};
-void ca_midi_free(ca_midi_t *midi) {
+static void ca_midi_free(ca_midi_t *midi) {
midi->interrupt = NULL;
midi->interrupt_enable = NULL;
midi->interrupt_disable = NULL;