Section fixup:
WARNING: drivers/net/built-in.o(.text+0x1a2c): Section mismatch
in reference from the function smc_drv_probe()
to the function .init.text:smc_probe()
The function smc_drv_probe() references
the function __init smc_probe().
This is often because smc_drv_probe lacks a __init
annotation or the annotation of smc_probe is wrong.
Signed-off-by: David Brownell <[EMAIL PROTECTED]>
---
drivers/net/smc91x.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/net/smc91x.c 2008-02-24 18:50:32.000000000 -0800
+++ b/drivers/net/smc91x.c 2008-02-24 19:16:29.000000000 -0800
@@ -2121,7 +2121,7 @@ static void smc_release_datacs(struct pl
* 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 net_device *ndev;
struct resource *res, *ires;
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html