mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: Randy Dunlap <randy.dunlap@oracle.com>
Cc: lkml <linux-kernel@vger.kernel.org>,
	perex@perex.cz, akpm <akpm@linux-foundation.org>
Subject: Re: [PATCH] sound: fix cs5535 section mismatch
Date: Wed, 23 Jan 2008 08:25:39 +0100	[thread overview]
Message-ID: <20080123072539.GB19132@uranus.ravnborg.org> (raw)
In-Reply-To: <20080122213943.939bc1cb.randy.dunlap@oracle.com>

On Tue, Jan 22, 2008 at 09:39:43PM -0800, Randy Dunlap wrote:
> From: Randy Dunlap <randy.dunlap@oracle.com>
> 
> snd_cs5535audio_mixer() is only called by __devinit snd_cs5535audio_probe(),
> so the mixer function can also be __devinit.
> 
> WARNING: vmlinux.o(.text+0xfdbba0): Section mismatch: reference to .init.data:ac97_quirks (between 'snd_cs5535audio_mixer' and 'process_bm0_irq')
> 
> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>

> ---
>  sound/pci/cs5535audio/cs5535audio.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> --- linux-2.6.24-rc8-git5.orig/sound/pci/cs5535audio/cs5535audio.c
> +++ linux-2.6.24-rc8-git5/sound/pci/cs5535audio/cs5535audio.c
> @@ -145,7 +145,7 @@ static unsigned short snd_cs5535audio_ac
>  	return snd_cs5535audio_codec_read(cs5535au, reg);
>  }
>  
> -static int snd_cs5535audio_mixer(struct cs5535audio *cs5535au)
> +static int __devinit snd_cs5535audio_mixer(struct cs5535audio *cs5535au)
>  {
>  	struct snd_card *card = cs5535au->card;
>  	struct snd_ac97_bus *pbus;
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

      reply	other threads:[~2008-01-23  7:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-23  5:39 Randy Dunlap
2008-01-23  7:25 ` Sam Ravnborg [this message]

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=20080123072539.GB19132@uranus.ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=perex@perex.cz \
    --cc=randy.dunlap@oracle.com \
    /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

all inboxes | Powered by JetHome®