summaryrefslogtreecommitdiff
path: root/src/lib/eeze
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2014-09-23 15:25:29 -0400
committerChris Michael <cp.michael@samsung.com>2014-09-23 15:25:29 -0400
commitc2f5e8331aeeaf8c037e032860545513864764a9 (patch)
treefa0e762ce2d1da93d1e08f627ad1b13635e352d7 /src/lib/eeze
parent6ef4f70b226e604fe765d1dfa658a5777d994e86 (diff)
eeze: Add cases for backlight and leds in eeze_udev_find_by_type
Summary: Add code to find backlight and led devices inside eeze_udev_find_by_type function. This will be used in Ecore-Drm to find the backlight of an output. @feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/eeze')
-rw-r--r--src/lib/eeze/eeze_udev_find.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/eeze/eeze_udev_find.c b/src/lib/eeze/eeze_udev_find.c
index 252d7af222..899a53bcb0 100644
--- a/src/lib/eeze/eeze_udev_find.c
+++ b/src/lib/eeze/eeze_udev_find.c
@@ -238,6 +238,14 @@ eeze_udev_find_by_type(Eeze_Udev_Type etype,
238 udev_enumerate_add_match_subsystem(en, "card[0-9]*"); 238 udev_enumerate_add_match_subsystem(en, "card[0-9]*");
239 break; 239 break;
240 240
241 case EEZE_UDEV_TYPE_BACKLIGHT:
242 udev_enumerate_add_match_subsystem(en, "backlight");
243 break;
244
245 case EEZE_UDEV_TYPE_LEDS:
246 udev_enumerate_add_match_subsystem(en, "leds");
247 break;
248
241 default: 249 default:
242 break; 250 break;
243 } 251 }