diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-11-23 07:14:50 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-01-03 06:29:40 -0500 |
commit | 18612048b3e951f7e0ae9be65efe9e8cfde868a6 (patch) | |
tree | 5432f794d9ee9129b21b066655fce88d63f073c3 /sound | |
parent | 9a1a2a1d4eeda00df45ccf7a3a375d1887f1efb3 (diff) |
[ALSA] sound/: possible cleanups
Modules: RawMidi Midlevel,HDA generic driver
This patch contains the following possible cleanups:
- pci/hda/hda_proc.c should #include 'hda_local.h' for including the
prototype of it's global function snd_hda_codec_proc_new()
- core/rawmidi.c: make the needlessly global and EXPORT_SYMBOL'ed
function snd_rawmidi_info() static
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/core/rawmidi.c | 5 | ||||
-rw-r--r-- | sound/pci/hda/hda_proc.c | 1 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sound/core/rawmidi.c b/sound/core/rawmidi.c index 587ea1eb3197..d4d124e21924 100644 --- a/sound/core/rawmidi.c +++ b/sound/core/rawmidi.c | |||
@@ -534,8 +534,8 @@ static int snd_rawmidi_release(struct inode *inode, struct file *file) | |||
534 | return err; | 534 | return err; |
535 | } | 535 | } |
536 | 536 | ||
537 | int snd_rawmidi_info(struct snd_rawmidi_substream *substream, | 537 | static int snd_rawmidi_info(struct snd_rawmidi_substream *substream, |
538 | struct snd_rawmidi_info *info) | 538 | struct snd_rawmidi_info *info) |
539 | { | 539 | { |
540 | struct snd_rawmidi *rmidi; | 540 | struct snd_rawmidi *rmidi; |
541 | 541 | ||
@@ -1694,7 +1694,6 @@ EXPORT_SYMBOL(snd_rawmidi_transmit_ack); | |||
1694 | EXPORT_SYMBOL(snd_rawmidi_transmit); | 1694 | EXPORT_SYMBOL(snd_rawmidi_transmit); |
1695 | EXPORT_SYMBOL(snd_rawmidi_new); | 1695 | EXPORT_SYMBOL(snd_rawmidi_new); |
1696 | EXPORT_SYMBOL(snd_rawmidi_set_ops); | 1696 | EXPORT_SYMBOL(snd_rawmidi_set_ops); |
1697 | EXPORT_SYMBOL(snd_rawmidi_info); | ||
1698 | EXPORT_SYMBOL(snd_rawmidi_info_select); | 1697 | EXPORT_SYMBOL(snd_rawmidi_info_select); |
1699 | EXPORT_SYMBOL(snd_rawmidi_kernel_open); | 1698 | EXPORT_SYMBOL(snd_rawmidi_kernel_open); |
1700 | EXPORT_SYMBOL(snd_rawmidi_kernel_release); | 1699 | EXPORT_SYMBOL(snd_rawmidi_kernel_release); |
diff --git a/sound/pci/hda/hda_proc.c b/sound/pci/hda/hda_proc.c index 8cc5773958f6..ca514a6a5875 100644 --- a/sound/pci/hda/hda_proc.c +++ b/sound/pci/hda/hda_proc.c | |||
@@ -26,6 +26,7 @@ | |||
26 | #include <linux/pci.h> | 26 | #include <linux/pci.h> |
27 | #include <sound/core.h> | 27 | #include <sound/core.h> |
28 | #include "hda_codec.h" | 28 | #include "hda_codec.h" |
29 | #include "hda_local.h" | ||
29 | 30 | ||
30 | static const char *get_wid_type_name(unsigned int wid_value) | 31 | static const char *get_wid_type_name(unsigned int wid_value) |
31 | { | 32 | { |