]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/smc91x.c
smc91x: add __init markings to smc_drv_probe()
[linux-2.6-omap-h63xx.git] / drivers / net / smc91x.c
index 2d8bfa7bd9e9cedadbf747df931fca7b00ae741b..b5ff63268d89c0813f1888a294cacda728b79687 100644 (file)
@@ -2123,7 +2123,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;