diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-10-31 18:11:06 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-11-02 08:34:38 -0500 |
commit | 237f3e1d80bb9d4c6eaf684552f422568ba04ffe (patch) | |
tree | 7bd033e6373d1912e54f1a554386f1a04d7af71c /drivers/net | |
parent | dccd547e2bf2c01a13c967ae03a705338394fad6 (diff) |
smc91x: add __init markings to smc_drv_probe()
The smc_drv_probe() is the platform_driver probe function and it is only
called during init. Further, it calls smc_probe() which is marked as __init
already.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/smc91x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/smc91x.c b/drivers/net/smc91x.c index 2d8bfa7bd9e9..b5ff63268d89 100644 --- a/drivers/net/smc91x.c +++ b/drivers/net/smc91x.c | |||
@@ -2123,7 +2123,7 @@ static void smc_release_datacs(struct platform_device *pdev, struct net_device * | |||
2123 | * 0 --> there is a device | 2123 | * 0 --> there is a device |
2124 | * anything else, error | 2124 | * anything else, error |
2125 | */ | 2125 | */ |
2126 | static int smc_drv_probe(struct platform_device *pdev) | 2126 | static int __init smc_drv_probe(struct platform_device *pdev) |
2127 | { | 2127 | { |
2128 | struct smc91x_platdata *pd = pdev->dev.platform_data; | 2128 | struct smc91x_platdata *pd = pdev->dev.platform_data; |
2129 | struct smc_local *lp; | 2129 | struct smc_local *lp; |