summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjy910.yun <jy910.yun@samsung.com>2014-11-07 21:40:20 +0900
committerjy910.yun <jy910.yun@samsung.com>2014-11-07 21:40:20 +0900
commit032b4a930fed8679f32f7300b5fe747c5ca4e6b0 (patch)
tree825b14caad25f4ae765e14d0b0ade262e404a0d8 /src
parent91a0e7fb142585031152df4117675404e804eb00 (diff)
downloadlibdevice-node-032b4a930fed8679f32f7300b5fe747c5ca4e6b0.tar.gz
libdevice-node-032b4a930fed8679f32f7300b5fe747c5ca4e6b0.tar.bz2
libdevice-node-032b4a930fed8679f32f7300b5fe747c5ca4e6b0.zip
device-node: Add get_max_brightness and set_irled functionssubmit/tizen/20141112.104554
Support to get the max brightness value of display Support to set command to irled Change-Id: I789e608a56371acc973fff2038eb4efa8ff5cbd1 Signed-off-by: jy910.yun <jy910.yun@samsung.com>
Diffstat (limited to 'src')
-rw-r--r--src/device-plugin.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/device-plugin.c b/src/device-plugin.c
index 85022d0..4289903 100644
--- a/src/device-plugin.c
+++ b/src/device-plugin.c
@@ -373,6 +373,11 @@ static int OEM_sys_get_hdmi_support(int *value)
return 0;
}
+static int OEM_sys_set_irled_control(char *value)
+{
+ return 0;
+}
+
static int OEM_sys_get_hardkey_backlight(int *value){
return 0;
}
@@ -448,8 +453,6 @@ const OEM_sys_devman_plugin_interface default_plugin = {
.OEM_sys_get_jack_tvout_online = &OEM_sys_get_jack_tvout_online,
.OEM_sys_get_jack_keyboard_online = &OEM_sys_get_jack_keyboard_online,
- .OEM_sys_get_hdmi_support = &OEM_sys_get_hdmi_support,
-
/* Torch interfaces */
.OEM_sys_get_leds_torch_max_brightness = &OEM_sys_get_leds_torch_max_brightness,
.OEM_sys_get_leds_torch_brightness = &OEM_sys_get_leds_torch_brightness,
@@ -486,6 +489,10 @@ const OEM_sys_devman_plugin_interface default_plugin = {
.OEM_sys_get_whitemagic_mode = &OEM_sys_get_whitemagic_mode,
.OEM_sys_set_whitemagic_mode = &OEM_sys_set_whitemagic_mode,
+ .OEM_sys_get_hdmi_support = &OEM_sys_get_hdmi_support,
+
+ .OEM_sys_set_irled_control = &OEM_sys_set_irled_control,
+
.OEM_sys_get_hardkey_backlight = &OEM_sys_get_hardkey_backlight,
.OEM_sys_set_hardkey_backlight= &OEM_sys_set_hardkey_backlight
};