ar71xx: add kernel 2.6.35 preliminary support
[openwrt.git] / target / linux / atheros / patches-2.6.30 / 110-ar2313_ethernet.patch
index cd17741..fa9eead 100644 (file)
@@ -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
 +
 +      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);
 +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)
This page took 0.021969 seconds and 4 git commands to generate.