Merge branch 'next-devicetree' of git://git.secretlab.ca/git/linux-2.6
[sfrench/cifs-2.6.git] / drivers / infiniband / hw / ehca / ehca_main.c
index cfc4de7a5da4700b6b0b74f6010f63ff878208c5..c240e9972cb0e52c2f2789f48e1e4c9ab6cbb29d 100644 (file)
@@ -713,7 +713,7 @@ static struct attribute_group ehca_dev_attr_grp = {
        .attrs = ehca_dev_attrs
 };
 
-static int __devinit ehca_probe(struct of_device *dev,
+static int __devinit ehca_probe(struct platform_device *dev,
                                const struct of_device_id *id)
 {
        struct ehca_shca *shca;
@@ -879,7 +879,7 @@ probe1:
        return -EINVAL;
 }
 
-static int __devexit ehca_remove(struct of_device *dev)
+static int __devexit ehca_remove(struct platform_device *dev)
 {
        struct ehca_shca *shca = dev_get_drvdata(&dev->dev);
        unsigned long flags;