On Sun, 1 Feb 2009, Michael Schmitz wrote:
-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.
Yep, only saw that after sending the patch. Do you want to fix that, or shall I
send a new patch? (My git tree is in a rough state after I've started to play
with switching Atari SCSI to NCR5380.c, or at least a fresh clone of that!)
I'll fix it up.
The DMA sound section mismatch I'll double check.
Perhaps it happens with some versions of gcc only?
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx
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
--
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