Skip to content

Commit

Permalink
hmt: adjust for new pwm_backlight->notify prototype
Browse files Browse the repository at this point in the history
Commit cfc38999f (backlight: Pass device through notify callback)
added a struct device argument to the notify callback, but didn't
update the user of it in mach-hmt.c

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
  • Loading branch information
Peter Korsgaard authored and Ben Dooks committed Jan 22, 2010
1 parent 3ce2f76 commit 1619ce1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-s3c6410/mach-hmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ static int hmt_bl_init(struct device *dev)
return ret;
}

static int hmt_bl_notify(int brightness)
static int hmt_bl_notify(struct device *dev, int brightness)
{
/*
* translate from CIELUV/CIELAB L*->brightness, E.G. from
Expand Down

0 comments on commit 1619ce1

Please sign in to comment.