]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/video/bw2.c
V4L/DVB: drivers/media/video: Adjust confusing if indentation
[karo-tx-linux.git] / drivers / video / bw2.c
index c7796637bafd2c1ae0d6501751e90d362e77e48e..4dc13467281da45b87fac6e8951e4c9dc46106b5 100644 (file)
@@ -273,7 +273,7 @@ static int __devinit bw2_do_default_mode(struct bw2_par *par,
        return 0;
 }
 
-static int __devinit bw2_probe(struct of_device *op, const struct of_device_id *match)
+static int __devinit bw2_probe(struct platform_device *op, const struct of_device_id *match)
 {
        struct device_node *dp = op->dev.of_node;
        struct fb_info *info;
@@ -350,7 +350,7 @@ out_err:
        return err;
 }
 
-static int __devexit bw2_remove(struct of_device *op)
+static int __devexit bw2_remove(struct platform_device *op)
 {
        struct fb_info *info = dev_get_drvdata(&op->dev);
        struct bw2_par *par = info->par;