X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=sound%2Fsound_core.c;h=10ba4218161b04936892bd72e6ca15688f2e36ef;hb=0b271ef4521756010675b1611bef20fd3096790d;hp=faef87a9bc3fdbac4f5ed27040877de887db6783;hpb=33217379becdee25021cabb25032b3bf703d0e96;p=karo-tx-linux.git diff --git a/sound/sound_core.c b/sound/sound_core.c index faef87a9bc3f..10ba4218161b 100644 --- a/sound/sound_core.c +++ b/sound/sound_core.c @@ -57,7 +57,7 @@ module_exit(cleanup_soundcore); /* * OSS sound core handling. Breaks out sound functions to submodules * - * Author: Alan Cox + * Author: Alan Cox * * Fixes: * @@ -457,7 +457,7 @@ EXPORT_SYMBOL(unregister_sound_mixer); void unregister_sound_midi(int unit) { - return sound_remove_unit(&chains[2], unit); + sound_remove_unit(&chains[2], unit); } EXPORT_SYMBOL(unregister_sound_midi); @@ -474,7 +474,7 @@ EXPORT_SYMBOL(unregister_sound_midi); void unregister_sound_dsp(int unit) { - return sound_remove_unit(&chains[3], unit); + sound_remove_unit(&chains[3], unit); } @@ -507,7 +507,7 @@ static struct sound_unit *__look_for_unit(int chain, int unit) return NULL; } -int soundcore_open(struct inode *inode, struct file *file) +static int soundcore_open(struct inode *inode, struct file *file) { int chain; int unit = iminor(inode);