diff options
author | codeworkx <daniel.hillenbrand@codeworkx.de> | 2012-06-02 13:09:29 +0200 |
---|---|---|
committer | codeworkx <daniel.hillenbrand@codeworkx.de> | 2012-06-02 13:09:29 +0200 |
commit | c6da2cfeb05178a11c6d062a06f8078150ee492f (patch) | |
tree | f3b4021d252c52d6463a9b3c1bb7245e399b009c /include/drm/drm_backlight.h | |
parent | c6d7c4dbff353eac7919342ae6b3299a378160a6 (diff) | |
download | kernel_samsung_smdk4412-c6da2cfeb05178a11c6d062a06f8078150ee492f.tar.gz kernel_samsung_smdk4412-c6da2cfeb05178a11c6d062a06f8078150ee492f.tar.bz2 kernel_samsung_smdk4412-c6da2cfeb05178a11c6d062a06f8078150ee492f.zip |
samsung update 1
Diffstat (limited to 'include/drm/drm_backlight.h')
-rw-r--r-- | include/drm/drm_backlight.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/include/drm/drm_backlight.h b/include/drm/drm_backlight.h new file mode 100644 index 00000000000..cbc4380a35a --- /dev/null +++ b/include/drm/drm_backlight.h @@ -0,0 +1,26 @@ +/* + * Copyright (C) 2011 Samsung Electronics Co.Ltd + * Author: Joonyoung Shim <jy0922.shim@samsung.com> + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. + * + */ + +enum drm_bl_class_type { + BL_BACKLIGHT_CLASS, + BL_LCD_CLASS, + BL_TSP_CLASS +}; + +struct drm_bl_notifier { + struct device dev; + void (*set_power)(void *priv, int power); + void *priv; +}; + +extern int drm_bl_register(struct device *dev, int type); +extern void drm_bl_unregister(struct device *dev); +extern void drm_bl_dpms(int mode); |