X-Git-Url: http://git.ozo.com/?p=openwrt-10.03%2F.git;a=blobdiff_plain;f=target%2Flinux%2Fatheros%2Fpatches-2.6.30%2F110-ar2313_ethernet.patch;fp=target%2Flinux%2Fatheros%2Fpatches-2.6.30%2F110-ar2313_ethernet.patch;h=fa9eead51e9e1401370008e927a602ba29745261;hp=5c28ae8b798ec79be14320c2199d36e977c9cf6e;hb=a3d62deca257f2a5b9be1963aba395f7d8a0c08a;hpb=8ffe821c146827bebd18ddce865681ff2b661dc0 diff --git a/target/linux/atheros/patches-2.6.30/110-ar2313_ethernet.patch b/target/linux/atheros/patches-2.6.30/110-ar2313_ethernet.patch index 5c28ae8b7..fa9eead51 100644 --- a/target/linux/atheros/patches-2.6.30/110-ar2313_ethernet.patch +++ b/target/linux/atheros/patches-2.6.30/110-ar2313_ethernet.patch @@ -355,7 +355,7 @@ + tasklet_kill(&sp->rx_tasklet); +} + -+static int __exit ar231x_remove(struct platform_device *pdev) ++static int __devexit ar231x_remove(struct platform_device *pdev) +{ + struct net_device *dev = platform_get_drvdata(pdev); + struct ar231x_private *sp = netdev_priv(dev); @@ -392,7 +392,7 @@ +static struct platform_driver ar231x_driver = { + .driver.name = "ar231x-eth", + .probe = ar231x_probe, -+ .remove = ar231x_remove, ++ .remove = __devexit_p(ar231x_remove), +}; + +int __init ar231x_module_init(void)