[PATCH 1/3] m68k: section mismatch fixes: EtherNAT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Geert,

a couple of section mismatch fixes that piled up in my tree:

drivers/net/atari_91C111.c (this mail)
sound/oss/dmasound/dmasound_atari.c 
drivers/scsi/atari_NCR5380.c
drivers/scsi/atari_scsi.c

Before they get lost in the mists of git history ...

commit 9418e1ee384d69065c5251d310be97f431668ddb
Author: Michael Schmitz <schmitz@xxxxxxxxxxxxxxxxxxxxxxxx>
Date:   Fri Jan 2 08:04:23 2009 +0100

    [m68k] section mismatch fixes: add __init annotation
    
    Signed-off-by: Michael Schmitz <schmitz@xxxxxxxxxx>
---
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;
--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux