aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/amba-clcd.c
diff options
context:
space:
mode:
authorAlessandro Rubini <rubini@gnudd.com>2009-05-20 22:39:08 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-05-20 23:26:51 +0100
commit03fbdb15c14e9746c63168e3ff2c64b9c8336d33 (patch)
tree819b4986a4f274c3402b74ccf0c7c815647daf3d /drivers/video/amba-clcd.c
parent[ARM] 5517/1: integrator: don't put clock lookups in __initdata (diff)
downloadlinux-dev-03fbdb15c14e9746c63168e3ff2c64b9c8336d33.tar.xz
linux-dev-03fbdb15c14e9746c63168e3ff2c64b9c8336d33.zip
[ARM] 5519/1: amba probe: pass "struct amba_id *" instead of void *
The second argument of the probe method points to the amba_id structure, so it's better passed with the correct type. None of the current in-tree drivers uses the pointer, so they have only been checked for a clean compile. Change suggested by Russell King. Signed-off-by: Alessandro Rubini <rubini@unipv.it> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/video/amba-clcd.c')
-rw-r--r--drivers/video/amba-clcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/amba-clcd.c b/drivers/video/amba-clcd.c
index 61050ab14128..d1f80bac54f0 100644
--- a/drivers/video/amba-clcd.c
+++ b/drivers/video/amba-clcd.c
@@ -437,7 +437,7 @@ static int clcdfb_register(struct clcd_fb *fb)
return ret;
}
-static int clcdfb_probe(struct amba_device *dev, void *id)
+static int clcdfb_probe(struct amba_device *dev, struct amba_id *id)
{
struct clcd_board *board = dev->dev.platform_data;
struct clcd_fb *fb;