Jelajahi Sumber

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: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Peter Korsgaard 15 tahun lalu
induk
melakukan
1619ce1114
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      arch/arm/mach-s3c6410/mach-hmt.c

+ 1 - 1
arch/arm/mach-s3c6410/mach-hmt.c

@@ -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