summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorRob Herring <r.herring@freescale.com>2008-03-25 15:38:20 -0500
committerDaniel Schaeffer <daniel.schaeffer@timesys.com>2008-08-25 15:20:54 -0400
commitce20ff5e9d69a9b36e0ea1594edb23e1b48b7081 (patch)
tree03a978a40aeff4dc478665c29e16b4db8112f1d5 /include/linux
parent13577e1914107c6190eaed90b5c6fa52901bf279 (diff)
ENGR00069928: Add wm8350 bl check_fb
Add check_fb function to wm8350 backlight driver, so that only fb0 blank/unblank will change the backlight state. Signed-off-by: Rob Herring <r.herring@freescale.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/regulator/wm8350/wm8350-pmic.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/regulator/wm8350/wm8350-pmic.h b/include/linux/regulator/wm8350/wm8350-pmic.h
index 7054c75b46bb..bc78d3afb245 100644
--- a/include/linux/regulator/wm8350/wm8350-pmic.h
+++ b/include/linux/regulator/wm8350/wm8350-pmic.h
@@ -786,6 +786,8 @@ struct wm8350_led_platform_data {
int full_value;
};
+struct fb_info;
+
/*
* WM8350 Backlight platform data
*/
@@ -797,6 +799,7 @@ struct wm8350_bl_platform_data {
int max_brightness;
int power;
int brightness;
+ int (*check_fb)(struct fb_info *);
};
#endif