X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=target%2Flinux%2Fatheros%2Fpatches-2.6.30%2F110-ar2313_ethernet.patch;h=fa9eead51e9e1401370008e927a602ba29745261;hb=71d6b2aaf1fadd2ac50006aac0d078f2e8c6b432;hp=cd1774176b3b073b25fac2c213e53655e98448e0;hpb=04aff2e833edde651fb7b4792439d9e05fbfaee2;p=openwrt-10.03%2F.git 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 cd1774176..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 @@ -6,7 +6,7 @@ +config AR231X_ETHERNET + tristate "AR231x Ethernet support" -+ depends on NET_ETHERNET && ATHEROS ++ depends on ATHEROS_AR231X + help + Support for the AR231x/531x ethernet controller + @@ -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)