Przeglądaj źródła

[PATCH] nm256_audio section fix

WARNING: sound/oss/nm256_audio.o - Section mismatch: reference to .init.text:nm256_peek_for_sig from .text between 'nm256_install' (at offset 0x3ba4) and 'nm256_probe'                                                                         WARNING: sound/oss/nm256_audio.o - Section mismatch: reference to .init.text:nm256_peek_for_sig from .text between 'nm256_install' (at offset 0x3bac) and 'nm256_probe'                                                                         WARNING: sound/oss/nm256_audio.o - Section mismatch: reference to .init.text: from .text between 'nm256_install' (at offset 0x3dcc) and 'nm256_probe'           WARNING: sound/oss/nm256_audio.o - Section mismatch: reference to .init.text: from .text between 'nm256_install' (at offset 0x3dd0) and 'nm256_probe'

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Andrew Morton 19 lat temu
rodzic
commit
db31419404
1 zmienionych plików z 3 dodań i 3 usunięć
  1. 3 3
      sound/oss/nm256_audio.c

+ 3 - 3
sound/oss/nm256_audio.c

@@ -960,7 +960,7 @@ static struct ac97_mixer_value_list mixer_defaults[] = {
 
 
 
 
 /* Installs the AC97 mixer into CARD.  */
 /* Installs the AC97 mixer into CARD.  */
-static int __init
+static int __devinit
 nm256_install_mixer (struct nm256_info *card)
 nm256_install_mixer (struct nm256_info *card)
 {
 {
     int mixer;
     int mixer;
@@ -995,7 +995,7 @@ nm256_install_mixer (struct nm256_info *card)
  * RAM.
  * RAM.
  */
  */
 
 
-static void __init
+static void __devinit
 nm256_peek_for_sig (struct nm256_info *card)
 nm256_peek_for_sig (struct nm256_info *card)
 {
 {
     u32 port1offset 
     u32 port1offset 
@@ -1056,7 +1056,7 @@ nm256_install(struct pci_dev *pcidev, enum nm256rev rev, char *verstr)
     card->playing  = 0;
     card->playing  = 0;
     card->recording = 0;
     card->recording = 0;
     card->rev = rev;
     card->rev = rev;
-	spin_lock_init(&card->lock);
+    spin_lock_init(&card->lock);
 
 
     /* Init the memory port info.  */
     /* Init the memory port info.  */
     for (x = 0; x < 2; x++) {
     for (x = 0; x < 2; x++) {