]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/video/sunxvr1000.c
drivers/video/backlight/adp8860_bl.c: check strict_strtoul() return value
[mv-sheeva.git] / drivers / video / sunxvr1000.c
index 7288934c0d49dacfabee368b6498289f2cf635b5..5dbe06af2226f3db9433a27dc3c3b5593c278e95 100644 (file)
@@ -111,7 +111,7 @@ static int __devinit gfb_set_fbinfo(struct gfb_info *gp)
         return 0;
 }
 
-static int __devinit gfb_probe(struct of_device *op,
+static int __devinit gfb_probe(struct platform_device *op,
                               const struct of_device_id *match)
 {
        struct device_node *dp = op->dev.of_node;
@@ -172,7 +172,7 @@ err_out:
        return err;
 }
 
-static int __devexit gfb_remove(struct of_device *op)
+static int __devexit gfb_remove(struct platform_device *op)
 {
        struct fb_info *info = dev_get_drvdata(&op->dev);
        struct gfb_info *gp = info->par;