All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Prarit Bhargava <prarit@redhat.com>
Cc: michael@tweakoz.com, alsa-devel@lists.sourceforge.net, perex@suse.cz
Subject: Re: [PATCH]: __devinit and __devexit changes to various sound drivers
Date: Fri, 09 Feb 2007 12:53:39 +0100	[thread overview]
Message-ID: <s5hsldfo8cc.wl%tiwai@suse.de> (raw)
In-Reply-To: <20070208170948.18004.89673.sendpatchset@prarit.boston.redhat.com>

At Thu, 8 Feb 2007 12:09:48 -0500,
Prarit Bhargava wrote:
> 
> __devinit and __devexit fixups to resolve MODPOST warnings:
> 
> WARNING: sound/drivers/snd-dummy.o - Section mismatch: reference to
> .init.text:snd_dummy_probe from .data.rel.local between 'snd_dummy_driver' (at
> offset 0x0) and 'snd_dummy_controls'
> WARNING: sound/drivers/snd-mtpav.o - Section mismatch: reference to
> .init.text:snd_mtpav_probe from .data.rel.local between 'snd_mtpav_driver' (at
> offset 0x0) and 'snd_mtpav_input'
> WARNING: sound/drivers/snd-virmidi.o - Section mismatch: reference to
> .init.text:snd_virmidi_probe from .data.rel.local after 'snd_virmidi_driver' (at
> offset 0x0)
> 
> Signed-off-by: Prarit Bhargava <prarit@redhat.com>
(snip)
> 
> --- linux-2.6.19.ia64.orig/sound/drivers/dummy.c	2007-02-07 09:56:36.000000000 -0500
> +++ linux-2.6.19.ia64/sound/drivers/dummy.c	2007-02-08 11:53:11.000000000 -0500
> @@ -579,7 +579,7 @@ static int __init snd_card_dummy_new_mix
>  	return 0;
>  }
>  
> -static int __init snd_dummy_probe(struct platform_device *devptr)
> +static int __devinit snd_dummy_probe(struct platform_device *devptr)
>  {
>  	struct snd_card *card;
>  	struct snd_dummy *dummy;
> @@ -635,7 +635,7 @@ static int snd_dummy_suspend(struct plat
>  	return 0;
>  }
>  	
> -static int snd_dummy_resume(struct platform_device *pdev)
> +static int __devexit snd_dummy_resume(struct platform_device *pdev)

You're shooting the wrong function :)

Also, if we change this (obviously correct), we should change all
__init* to __devinit* accordingly.  Care to fix these?


Thanks,

Takashi

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

       reply	other threads:[~2007-02-09 11:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20070208170948.18004.89673.sendpatchset@prarit.boston.redhat.com>
2007-02-09 11:53 ` Takashi Iwai [this message]
2007-02-09 12:11   ` [PATCH]: __devinit and __devexit changes to various sound drivers Prarit Bhargava

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=s5hsldfo8cc.wl%tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=michael@tweakoz.com \
    --cc=perex@suse.cz \
    --cc=prarit@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.