Commit de30d36b authored by Krzysztof Helt's avatar Krzysztof Helt Committed by Jaroslav Kysela

ALSA: fix section mismatch in the sound_core

The __exit cleanup_oss_soundcore() is called from
the __init init_soundcore(). This causes section mismatch
and breaks kernel's linking on sparc64.

Remove the __exit attribute from the cleanup_oss_soundcore().
Signed-off-by: default avatarKrzysztof Helt <>
Signed-off-by: default avatarTakashi Iwai <>
Signed-off-by: default avatarJaroslav Kysela <>
parent d8009882
......@@ -13,7 +13,7 @@
static int __init init_oss_soundcore(void);
static void __exit cleanup_oss_soundcore(void);
static void cleanup_oss_soundcore(void);
static inline int init_oss_soundcore(void) { return 0; }
static inline void cleanup_oss_soundcore(void) { }
......@@ -574,7 +574,7 @@ int soundcore_open(struct inode *inode, struct file *file)
static void __exit cleanup_oss_soundcore(void)
static void cleanup_oss_soundcore(void)
/* We have nothing to really do here - we know the lists must be
empty */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment