of/device: Replace struct of_device with struct platform_device
[linux-2.6-block.git] / drivers / spi / spi_mpc8xxx.c
index aad9ae1b9c69093b829aa09c942b7a8a8b53dd78..d31b57f7baaf3c3bf970294afd13a1396cecf46c 100644 (file)
@@ -1236,7 +1236,7 @@ static int of_mpc8xxx_spi_free_chipselects(struct device *dev)
        return 0;
 }
 
-static int __devinit of_mpc8xxx_spi_probe(struct of_device *ofdev,
+static int __devinit of_mpc8xxx_spi_probe(struct platform_device *ofdev,
                                          const struct of_device_id *ofid)
 {
        struct device *dev = &ofdev->dev;
@@ -1308,7 +1308,7 @@ err_clk:
        return ret;
 }
 
-static int __devexit of_mpc8xxx_spi_remove(struct of_device *ofdev)
+static int __devexit of_mpc8xxx_spi_remove(struct platform_device *ofdev)
 {
        int ret;