public inbox for linux-m68k@lists.linux-m68k.org
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <geert@linux-m68k.org>
To: Michael Schmitz <schmitz@biophys.uni-duesseldorf.de>
Cc: linux-m68k@vger.kernel.org
Subject: Re: [PATCH 1/3] m68k: section mismatch fixes: EtherNAT
Date: Fri, 30 Jan 2009 19:35:27 +0100 (CET)	[thread overview]
Message-ID: <Pine.LNX.4.64.0901301934430.23582@anakin> (raw)
In-Reply-To: <alpine.DEB.1.00.0901180302190.9820@zirkon.biophys.uni-duesseldorf.de>

On Sun, 18 Jan 2009, Michael Schmitz wrote:
> commit 9418e1ee384d69065c5251d310be97f431668ddb
> Author: Michael Schmitz <schmitz@xplor.waratah.dyndns.org>
> Date:   Fri Jan 2 08:04:23 2009 +0100
> 
>     [m68k] section mismatch fixes: add __init annotation
>     
>     Signed-off-by: Michael Schmitz <schmitz@debian.org>
> ---
> diff --git a/drivers/net/atari_91C111.c b/drivers/net/atari_91C111.c
> index c441779..4d4bf61 100644
> --- a/drivers/net/atari_91C111.c
> +++ b/drivers/net/atari_91C111.c
> @@ -2161,7 +2161,7 @@ static void smc_release_datacs(struct platform_device *pdev, struct net_device *
>   *	0 --> there is a device
>   *	anything else, error
>   */
> -static int smc_drv_probe(struct platform_device *pdev)
> +static int __init smc_drv_probe(struct platform_device *pdev)
              ^^^^^^
>  {
>  	struct smc91x_platdata *pd = pdev->dev.platform_data;
>  	struct smc_local *lp;

smc_drv_probe() should be marked __devinit, not __init.
And smc_drv_remove() should be marked __devexit.

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

  parent reply	other threads:[~2009-01-30 18:35 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-13 21:49 mac68k serial flameman mayer
2009-01-14  0:32 ` Brad Boyer
2009-01-14  1:50   ` Finn Thain
2009-01-16 23:31     ` Michael Schmitz
2009-01-17  3:13       ` Falcon IDE breakage Michael Schmitz
2009-01-17 11:58         ` Geert Uytterhoeven
2009-01-18  0:58           ` Michael Schmitz
2009-01-18  1:45           ` Falcon IDE breakage [patch] Michael Schmitz
2009-01-19 12:24             ` Bartlomiej Zolnierkiewicz
2009-01-18  2:10           ` [PATCH 1/3] m68k: section mismatch fixes: EtherNAT Michael Schmitz
2009-01-18  2:17             ` [PATCH 2/3] m68k: section mismatch fixes: DMAsound Michael Schmitz
2009-01-30 18:37               ` Geert Uytterhoeven
2009-01-18  2:22             ` [PATCH 3/3] m68k: section mismatch fixes: Atari SCSI Michael Schmitz
2009-01-30 18:38               ` Geert Uytterhoeven
2009-01-30 18:35             ` Geert Uytterhoeven [this message]
2009-02-01  0:14               ` [PATCH 1/3] m68k: section mismatch fixes: EtherNAT Michael Schmitz
2009-02-01  9:50                 ` Geert Uytterhoeven
2009-02-01 10:22                   ` Geert Uytterhoeven
2009-02-01 13:09                 ` David D. Kilzer
2009-02-02  3:36                   ` Michael Schmitz
2009-02-02  7:43                     ` Geert Uytterhoeven
2009-01-17  6:59       ` mac68k serial Finn Thain
2009-01-17  8:24         ` Brad Boyer
2009-01-18  0:43           ` Michael Schmitz
2009-01-18  5:18             ` Brad Boyer
2009-01-14 21:26 ` Kolbjørn Barmen

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=Pine.LNX.4.64.0901301934430.23582@anakin \
    --to=geert@linux-m68k.org \
    --cc=linux-m68k@vger.kernel.org \
    --cc=schmitz@biophys.uni-duesseldorf.de \
    /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