HDLCD: Fix argument type for function used to implement sysfs statistics.
authorLiviu Dudau <Liviu.Dudau@arm.com>
Thu, 23 Oct 2014 13:09:57 +0000 (14:09 +0100)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Thu, 23 Oct 2014 13:12:33 +0000 (14:12 +0100)
The hdlcd_show_underrun_count() function had a double pointer as second
argument when the correct version should be with a simple pointer. GCC 4.9
throws a warning that was finally noticed and this is the fix.

Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>
drivers/gpu/drm/arm/hdlcd_drv.c

index 1cbb7da..4c25ba1 100644 (file)
@@ -310,7 +310,7 @@ static int hdlcd_show_underrun_count(struct seq_file *m, void *arg)
        return 0;
 }
 
-static int hdlcd_show_pxlclock(struct seq_file *m, void **arg)
+static int hdlcd_show_pxlclock(struct seq_file *m, void *arg)
 {
        struct drm_info_node *node = (struct drm_info_node *)m->private;
        struct drm_device *dev = node->minor->dev;