[PATCH] oss/nm256: fix section references

From: Randy.Dunlap
Date: Sat Mar 05 2005 - 01:42:37 EST



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

Signed-off-by: Randy Dunlap <rddunlap@xxxxxxxx>

diffstat:=
sound/oss/nm256_audio.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

diff -Naurp ./sound/oss/nm256_audio.c~oss_nm256_sections ./sound/oss/nm256_audio.c
--- ./sound/oss/nm256_audio.c~oss_nm256_sections 2005-03-01 23:38:08.000000000 -0800
+++ ./sound/oss/nm256_audio.c 2005-03-04 21:25:20.000000000 -0800
@@ -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;


---
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/