public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: linux-kernel@vger.kernel.org
Subject: [2.6 patch] sound/oss/cs4232.c: fix section mismatch
Date: Mon, 26 Jun 2006 01:13:21 +0200	[thread overview]
Message-ID: <20060625231320.GJ23314@stusta.de> (raw)

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;


                 reply	other threads:[~2006-06-25 23:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060625231320.GJ23314@stusta.de \
    --to=bunk@stusta.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox