summaryrefslogtreecommitdiffstats
path: root/sound/core
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2005-11-23 13:14:50 +0100
committerJaroslav Kysela <perex@suse.cz>2006-01-03 12:29:40 +0100
commit18612048b3e951f7e0ae9be65efe9e8cfde868a6 (patch)
tree5432f794d9ee9129b21b066655fce88d63f073c3 /sound/core
parent[ALSA] Fix a missing include (diff)
downloadlinux-18612048b3e951f7e0ae9be65efe9e8cfde868a6.tar.xz
linux-18612048b3e951f7e0ae9be65efe9e8cfde868a6.zip
[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/core')
-rw-r--r--sound/core/rawmidi.c5
1 files changed, 2 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)
return err;
}
-int snd_rawmidi_info(struct snd_rawmidi_substream *substream,
- struct snd_rawmidi_info *info)
+static int snd_rawmidi_info(struct snd_rawmidi_substream *substream,
+ struct snd_rawmidi_info *info)
{
struct snd_rawmidi *rmidi;
@@ -1694,7 +1694,6 @@ EXPORT_SYMBOL(snd_rawmidi_transmit_ack);
EXPORT_SYMBOL(snd_rawmidi_transmit);
EXPORT_SYMBOL(snd_rawmidi_new);
EXPORT_SYMBOL(snd_rawmidi_set_ops);
-EXPORT_SYMBOL(snd_rawmidi_info);
EXPORT_SYMBOL(snd_rawmidi_info_select);
EXPORT_SYMBOL(snd_rawmidi_kernel_open);
EXPORT_SYMBOL(snd_rawmidi_kernel_release);