]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/spi/mpc52xx_psc_spi.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ericvh...
[karo-tx-linux.git] / drivers / spi / mpc52xx_psc_spi.c
index 66d170147dccabc9cbb22d5c8e1d50af39225415..983fbbfce76eba3061e073ab5c03aa48d9dd89c3 100644 (file)
@@ -465,7 +465,7 @@ static int __exit mpc52xx_psc_spi_do_remove(struct device *dev)
        return 0;
 }
 
-static int __init mpc52xx_psc_spi_of_probe(struct of_device *op,
+static int __init mpc52xx_psc_spi_of_probe(struct platform_device *op,
        const struct of_device_id *match)
 {
        const u32 *regaddr_p;
@@ -495,7 +495,7 @@ static int __init mpc52xx_psc_spi_of_probe(struct of_device *op,
                                irq_of_parse_and_map(op->dev.of_node, 0), id);
 }
 
-static int __exit mpc52xx_psc_spi_of_remove(struct of_device *op)
+static int __exit mpc52xx_psc_spi_of_remove(struct platform_device *op)
 {
        return mpc52xx_psc_spi_do_remove(&op->dev);
 }