Skip to contentSkip to conversation

sound/oss/cs4232.c: fix section mismatch

PATCH New Adrian Bunk 1 participant 1 message Jun 25, 2006 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sound/oss/cs4232.c: fix section mismatch

probe_cs4232() is called from the non-__init cs4232_pnp_probe().

bss is used in probe_cs4232().

---

 sound/oss/cs4232.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
sound/oss/cs4232.c renamed from sound/oss/cs4232.c.old +2 -2
@@ -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;