diff options
author | Romuald Texier-Marcadé <romuald.texier-marcade@open.eurogiciel.org> | 2014-06-02 11:42:54 +0200 |
---|---|---|
committer | Romuald Texier-Marcadé <romuald.texier-marcade@open.eurogiciel.org> | 2014-06-02 11:42:54 +0200 |
commit | 25f730f660c4193863d2c7c3304e6b4ada048c36 (patch) | |
tree | 2ef8a4e4afc12117bc6137e1d754e1f556e84340 | |
parent | d65efaf311abaf22ffd0d9bc22c28182e003304a (diff) | |
download | libdevice-node-25f730f660c4193863d2c7c3304e6b4ada048c36.tar.gz libdevice-node-25f730f660c4193863d2c7c3304e6b4ada048c36.tar.bz2 libdevice-node-25f730f660c4193863d2c7c3304e6b4ada048c36.zip |
Added missing APIs from devman_plugin_intf to default plugin :
- OEM_sys_get_hardkey_backlight
- OEM_sys_set_hardkey_backlight
Change-Id: I2ae36fc149504cf6ea35c3b8f6d614fa1d2657ed
Signed-off-by: Romuald Texier-Marcadé <romuald.texier-marcade@open.eurogiciel.org>
-rw-r--r-- | src/device-plugin.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/device-plugin.c b/src/device-plugin.c index 13bfdc2..64b6f39 100644 --- a/src/device-plugin.c +++ b/src/device-plugin.c @@ -373,6 +373,15 @@ static int OEM_sys_get_hdmi_support(int *value) return 0; } +static int OEM_sys_get_hardkey_backlight(int *value){ + return 0; +} + +static int OEM_sys_set_hardkey_backlight(int value){ + return 0; +} + + const OEM_sys_devman_plugin_interface default_plugin = { /* Light interfaces */ .OEM_sys_get_display_count = &OEM_sys_get_display_count, @@ -476,4 +485,7 @@ 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_hardkey_backlight = &OEM_sys_get_hardkey_backlight, + .OEM_sys_set_hardkey_backlight= &OEM_sys_set_hardkey_backlight }; |