Skip to content

Commit

Permalink
maple: Fix maple bus compiler warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian McMenamin authored and pmundt committed Oct 30, 2007
1 parent 4d2718d commit 656e608
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/sh/maple/maple.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 656e608

Please sign in to comment.