From: Adrian McMenamin Date: Tue, 30 Oct 2007 00:56:40 +0000 (+0900) Subject: maple: Fix maple bus compiler warning X-Git-Tag: v2.6.24-rc2~47^2~18 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=656e608747df697fdb7c990499f15bc2406ea2c2;p=linux-2.6 maple: Fix maple bus compiler warning The uevent API has changed from 2.6.22 and this patch eliminates annoying compiler errors Signed off by: Adrian McMenamin Signed-off-by: Paul Mundt --- diff --git a/drivers/sh/maple/maple.c b/drivers/sh/maple/maple.c index 161d1021b7..e52a6296ca 100644 --- a/drivers/sh/maple/maple.c +++ b/drivers/sh/maple/maple.c @@ -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; }