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>
This commit is contained in:
Chris Michael 2014-09-23 15:25:29 -04:00
parent 6ef4f70b22
commit c2f5e8331a
1 changed files with 8 additions and 0 deletions

View File

@ -238,6 +238,14 @@ eeze_udev_find_by_type(Eeze_Udev_Type etype,
udev_enumerate_add_match_subsystem(en, "card[0-9]*");
break;
case EEZE_UDEV_TYPE_BACKLIGHT:
udev_enumerate_add_match_subsystem(en, "backlight");
break;
case EEZE_UDEV_TYPE_LEDS:
udev_enumerate_add_match_subsystem(en, "leds");
break;
default:
break;
}