Re: [PATCH][TRIVIAL] de2104x.c missing __devexit_p in 2.5.43

Jeff Garzik (jgarzik@pobox.com)
Thu, 17 Oct 2002 10:21:12 -0400


Andrey Panin wrote:
> diff -urN -X /usr/share/dontdiff linux-vanilla/drivers/net/tulip/de2104x.c linux/drivers/net/tulip/de2104x.c
> --- linux-vanilla/drivers/net/tulip/de2104x.c Sun Sep 1 02:04:53 2002
> +++ linux/drivers/net/tulip/de2104x.c Thu Oct 17 04:10:19 2002
> @@ -2216,7 +2216,7 @@
> .name = DRV_NAME,
> .id_table = de_pci_tbl,
> .probe = de_init_one,
> - .remove = de_remove_one,
> + .remove = __devexit_p(de_remove_one),
> #ifdef CONFIG_PM
> .suspend = de_suspend,
> .resume = de_resume,

alas, it is incorrect, as no one hotplugs this hardware.

Jeff

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/