]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
maple: Fix maple bus compiler warning
authorAdrian McMenamin <adrian@mcmen.demon.co.uk>
Tue, 30 Oct 2007 00:56:40 +0000 (09:56 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 30 Oct 2007 00:56:40 +0000 (09:56 +0900)
The uevent API has changed from 2.6.22 and this patch eliminates
annoying compiler errors

Signed off by: Adrian McMenamin <adrian@mcmen.demon.co.uk>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/sh/maple/maple.c

index 161d1021b7ebf405676540e7516b6561f3c98ce8..e52a6296ca46eedd20b2cd99469b65704135f842 100644 (file)
@@ -601,8 +601,7 @@ static int match_maple_bus_driver(struct device *devptr,
        return 0;
 }
 
-static int maple_bus_uevent(struct device *dev, char **envp,
-                           int num_envp, char *buffer, int buffer_size)
+static int maple_bus_uevent(struct device *dev, struct kobj_uevent_env *env)
 {
        return 0;
 }