[PATCH] oss/pss: fix section references

From: Randy.Dunlap
Date: Sat Mar 05 2005 - 01:26:39 EST



oss/pss: fix initdata reference used in exit:

Error: ./sound/oss/pss.o .exit.text refers to 000000000000003f R_X86_64_PC32 .init.data+0x0000000000000003

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

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

diff -Naurp ./sound/oss/pss.c~oss_pss_sections ./sound/oss/pss.c
--- ./sound/oss/pss.c~oss_pss_sections 2005-03-01 23:38:33.000000000 -0800
+++ ./sound/oss/pss.c 2005-03-04 21:29:26.000000000 -0800
@@ -1149,7 +1149,7 @@ static int mss_irq __initdata = -1;
static int mss_dma __initdata = -1;
static int mpu_io __initdata = -1;
static int mpu_irq __initdata = -1;
-static int pss_no_sound __initdata = 0; /* Just configure non-sound components */
+static int pss_no_sound = 0; /* Just configure non-sound components */
static int pss_keep_settings = 1; /* Keep hardware settings at module exit */
static char *pss_firmware = "/etc/sound/pss_synth";



---
-
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/