* [2.6 patch] sound/oss/cs4232.c: fix section mismatch
@ 2006-06-25 23:13 Adrian Bunk
0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2006-06-25 23:13 UTC (permalink / raw)
To: linux-kernel
probe_cs4232() is called from the non-__init cs4232_pnp_probe().
bss is used in probe_cs4232().
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
sound/oss/cs4232.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- linux-2.6.17-mm2-full/sound/oss/cs4232.c.old 2006-06-25 21:40:11.000000000 +0200
+++ linux-2.6.17-mm2-full/sound/oss/cs4232.c 2006-06-25 21:41:59.000000000 +0200
@@ -72,7 +72,7 @@
#define CS_OUT2(a, b) {CS_OUT(a);CS_OUT(b);}
#define CS_OUT3(a, b, c) {CS_OUT(a);CS_OUT(b);CS_OUT(c);}
-static int __initdata bss = 0;
+static int bss = 0;
static int mpu_base, mpu_irq;
static int synth_base, synth_irq;
static int mpu_detected;
@@ -127,7 +127,7 @@
outb(((unsigned char) (ENABLE_PINS | regd)), baseio + INDEX_DATA );
}
-static int __init probe_cs4232(struct address_info *hw_config, int isapnp_configured)
+static int probe_cs4232(struct address_info *hw_config, int isapnp_configured)
{
int i, n;
int base = hw_config->io_base, irq = hw_config->irq;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-06-25 23:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-25 23:13 [2.6 patch] sound/oss/cs4232.c: fix section mismatch Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox