Skip to content

Commit 656e608

Browse files
Adrian McMenaminpmundt
authored andcommitted
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>
1 parent 4d2718d commit 656e608

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎drivers/sh/maple/maple.c‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -601,8 +601,7 @@ static int match_maple_bus_driver(struct device *devptr,
601601
return 0;
602602
}
603603

604-
static int maple_bus_uevent(struct device *dev, char **envp,
605-
int num_envp, char *buffer, int buffer_size)
604+
static int maple_bus_uevent(struct device *dev, struct kobj_uevent_env *env)
606605
{
607606
return 0;
608607
}

0 commit comments

Comments
 (0)