Skip to contentSkip to conversation

oss/nm256: fix section references

PATCH New Randy.Dunlap 1 participant 1 message Mar 5, 2005 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 oss/nm256: fix section references

oss/nm256_audio: fix init text section reference:

Error: ./sound/oss/nm256_audio.o .text refers to 0000000000001847 R_X86_64_PC32 .init.text+0x0000000000000018

diffstat: sound/oss/nm256_audio.c | 2 +-

 1 files changed, 1 insertion(+), 1 deletion(-)
sound/oss/nm256_audio.c renamed from sound/oss/nm256_audio.c~oss_nm256_sections +1 -1
diff -Naurp ./sound/oss/nm256_audio.c~oss_nm256_sections ./sound/oss/nm256_audio.c
@@ -1047,7 +1047,7 @@ nm256_peek_for_sig (struct nm256_info *c
  * VERSTR is a human-readable version string.
  */
 
-static int __init
+static int __devinit
 nm256_install(struct pci_dev *pcidev, enum nm256rev rev, char *verstr)
 {
     struct nm256_info *card;

---