提交 1619ce11 编写于 作者: P Peter Korsgaard 提交者: Ben Dooks

hmt: adjust for new pwm_backlight->notify prototype

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: NPeter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: NBen Dooks <ben-linux@fluff.org>
上级 3ce2f76f
...@@ -82,7 +82,7 @@ static int hmt_bl_init(struct device *dev) ...@@ -82,7 +82,7 @@ static int hmt_bl_init(struct device *dev)
return ret; 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 * translate from CIELUV/CIELAB L*->brightness, E.G. from
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册