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
parent[ALSA] Add missing KERN_* prefix (diff)
downloadlinux-7cf4783b31607ad13b84bed14ea2ca446364985a.tar.xz
linux-7cf4783b31607ad13b84bed14ea2ca446364985a.zip
[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 f439d14876b0..9cc0c67ace99 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;