of/device: Replace struct of_device with struct platform_device
[deliverable/linux.git] / drivers / video / cg3.c
index 64aa29809fb970dcb1740eb72e69cafb5cb62660..09c0c3c42482ba114e459de82dbe7d2ec8e591f0 100644 (file)
@@ -346,7 +346,7 @@ static int __devinit cg3_do_default_mode(struct cg3_par *par)
        return 0;
 }
 
-static int __devinit cg3_probe(struct of_device *op,
+static int __devinit cg3_probe(struct platform_device *op,
                               const struct of_device_id *match)
 {
        struct device_node *dp = op->dev.of_node;
@@ -433,7 +433,7 @@ out_err:
        return err;
 }
 
-static int __devexit cg3_remove(struct of_device *op)
+static int __devexit cg3_remove(struct platform_device *op)
 {
        struct fb_info *info = dev_get_drvdata(&op->dev);
        struct cg3_par *par = info->par;
This page took 0.047339 seconds and 5 git commands to generate.