[PATCH - SH] Clean up maple bus code to supress compiler warning

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-kernel@...>
Cc: <linuxsh-dev@...>
Date: Sunday, October 28, 2007 - 10:24 am

The API for uevent has changed for 2.6.24 and this patch makes a
consequential clean up.

(Apols to linux-sh list users seeing this for the second time, I
should have included lkml first time round for completeness)

Signed-off-by: Adrian McMenamin <adrian@mcmen.demon.co.uk>

diff --git a/drivers/sh/maple/maple.c b/drivers/sh/maple/maple.c
index 161d102..e52a629 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;
 }
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH - SH] Clean up maple bus code to supress compiler war..., Adrian McMenamin, (Sun Oct 28, 10:24 am)