浏览代码

ALSA: more section mismatches

Fix section mismatch warnings:

WARNING: sound/built-in.o(.exit.text+0x3ad): Section mismatch: reference to .init.text: (between 'sb_exit' and 'unload_uart6850')
WARNING: sound/built-in.o(.exit.text+0x753): Section mismatch: reference to .init.text: (between 'snd_mts64_module_exit' and 'snd_portman_module_exit')

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Jaroslav Kysela <perex@suse.cz>
Cc: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Randy Dunlap 18 年之前
父节点
当前提交
10c86be577
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      sound/drivers/mts64.c
  2. 1 1
      sound/oss/sb_card.c

+ 1 - 1
sound/drivers/mts64.c

@@ -1048,7 +1048,7 @@ static struct platform_driver snd_mts64_driver = {
 /*********************************************************************
 /*********************************************************************
  * module init stuff
  * module init stuff
  *********************************************************************/
  *********************************************************************/
-static void __init_or_module snd_mts64_unregister_all(void)
+static void snd_mts64_unregister_all(void)
 {
 {
 	int i;
 	int i;
 
 

+ 1 - 1
sound/oss/sb_card.c

@@ -290,7 +290,7 @@ static struct pnp_card_driver sb_pnp_driver = {
 MODULE_DEVICE_TABLE(pnp_card, sb_pnp_card_table);
 MODULE_DEVICE_TABLE(pnp_card, sb_pnp_card_table);
 #endif /* CONFIG_PNP */
 #endif /* CONFIG_PNP */
 
 
-static void __init_or_module sb_unregister_all(void)
+static void sb_unregister_all(void)
 {
 {
 #ifdef CONFIG_PNP
 #ifdef CONFIG_PNP
 	if (pnp_registered)
 	if (pnp_registered)