of/device: Replace struct of_device with struct platform_device
[deliverable/linux.git] / drivers / net / greth.c
index 4d09eab3548e9d6c563ee06356d6b951ee5adb8c..9ec4b7f28ca40f8003b5a0147458fa0b9e6f6fec 100644 (file)
@@ -1373,7 +1373,7 @@ error:
 }
 
 /* Initialize the GRETH MAC */
-static int __devinit greth_of_probe(struct of_device *ofdev, const struct of_device_id *match)
+static int __devinit greth_of_probe(struct platform_device *ofdev, const struct of_device_id *match)
 {
        struct net_device *dev;
        struct greth_private *greth;
@@ -1572,7 +1572,7 @@ error1:
        return err;
 }
 
-static int __devexit greth_of_remove(struct of_device *of_dev)
+static int __devexit greth_of_remove(struct platform_device *of_dev)
 {
        struct net_device *ndev = dev_get_drvdata(&of_dev->dev);
        struct greth_private *greth = netdev_priv(ndev);
This page took 0.025753 seconds and 5 git commands to generate.