From: Adrian M. <ad...@ne...> - 2007-10-28 00:10:50
|
The uevent API has changed from 2.6.22 and this patch eliminates annoying compiler errors Signed off by: Adrian McMenamin <ad...@mc...> diff --git a/drivers/sh/maple/maple.c b/drivers/sh/maple/maple.c index 161d102..e52a629 100644 (file) --- 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; } |