ixgb and e1000: Use new function for copybreak tests
[safe/jmp/linux-2.6] / drivers / net / ibm_newemac / tah.c
index 96417ad..30173a9 100644 (file)
@@ -35,7 +35,7 @@ int __devinit tah_attach(struct of_device *ofdev, int channel)
        return 0;
 }
 
-void __devexit tah_detach(struct of_device *ofdev, int channel)
+void tah_detach(struct of_device *ofdev, int channel)
 {
        struct tah_instance *dev = dev_get_drvdata(&ofdev->dev);
 
@@ -155,6 +155,10 @@ static int __devexit tah_remove(struct of_device *ofdev)
 static struct of_device_id tah_match[] =
 {
        {
+               .compatible     = "ibm,tah",
+       },
+       /* For backward compat with old DT */
+       {
                .type           = "tah",
        },
        {},