diff options
author | James Courtier-Dutton <James@superbug.co.uk> | 2005-10-22 05:45:55 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2005-11-04 07:19:37 -0500 |
commit | 7cf4783b31607ad13b84bed14ea2ca446364985a (patch) | |
tree | 0774e3f2d1474b82270e624cdc17f5ef010439b7 /sound/pci/ca0106/ca_midi.c | |
parent | d3d579f84ebf701dedd22ba696d1738ed6759ef7 (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.c | 4 |
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) | |||
49 | #endif | 49 | #endif |
50 | } | 50 | } |
51 | 51 | ||
52 | void ca_midi_interrupt(ca_midi_t *midi, unsigned int status) { | 52 | static void ca_midi_interrupt(ca_midi_t *midi, unsigned int status) { |
53 | unsigned char byte; | 53 | unsigned char byte; |
54 | 54 | ||
55 | if (midi->rmidi == NULL) { | 55 | if (midi->rmidi == NULL) { |
@@ -258,7 +258,7 @@ static snd_rawmidi_ops_t ca_midi_input = | |||
258 | .trigger = ca_midi_input_trigger, | 258 | .trigger = ca_midi_input_trigger, |
259 | }; | 259 | }; |
260 | 260 | ||
261 | void ca_midi_free(ca_midi_t *midi) { | 261 | static void ca_midi_free(ca_midi_t *midi) { |
262 | midi->interrupt = NULL; | 262 | midi->interrupt = NULL; |
263 | midi->interrupt_enable = NULL; | 263 | midi->interrupt_enable = NULL; |
264 | midi->interrupt_disable = NULL; | 264 | midi->interrupt_disable = NULL; |