From c25f428afe0a773c5250f45c891269720b2fcb57 Mon Sep 17 00:00:00 2001 From: Liviu Dudau Date: Thu, 23 Oct 2014 14:09:57 +0100 Subject: [PATCH] HDLCD: Fix argument type for function used to implement sysfs statistics. 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 --- drivers/gpu/drm/arm/hdlcd_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/arm/hdlcd_drv.c b/drivers/gpu/drm/arm/hdlcd_drv.c index 1cbb7da..4c25ba1 100644 --- a/drivers/gpu/drm/arm/hdlcd_drv.c +++ b/drivers/gpu/drm/arm/hdlcd_drv.c @@ -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; -- 2.7.4