diff options
author | Adrian McMenamin <adrian@mcmen.demon.co.uk> | 2007-10-29 20:56:40 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-10-29 20:56:40 -0400 |
commit | 656e608747df697fdb7c990499f15bc2406ea2c2 (patch) | |
tree | 8facef79332699acaa24cf9ffc278480117e8764 /drivers/sh | |
parent | 4d2718d00de9896b27cec86b03c50cbfcf3afde4 (diff) |
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 <adrian@mcmen.demon.co.uk>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/sh')
-rw-r--r-- | drivers/sh/maple/maple.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/sh/maple/maple.c b/drivers/sh/maple/maple.c index 161d1021b7eb..e52a6296ca46 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, | |||
601 | return 0; | 601 | return 0; |
602 | } | 602 | } |
603 | 603 | ||
604 | static int maple_bus_uevent(struct device *dev, char **envp, | 604 | static int maple_bus_uevent(struct device *dev, struct kobj_uevent_env *env) |
605 | int num_envp, char *buffer, int buffer_size) | ||
606 | { | 605 | { |
607 | return 0; | 606 | return 0; |
608 | } | 607 | } |