forked from enlightenment/efl
eeze: Add cases for backlight and leds in get_syspath_from_watch.
Summary: This adds support for backlight and leds devices for use with an Eeze_Udev_Watch @feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
c2f5e8331a
commit
30c6aed053
|
@ -240,6 +240,16 @@ _get_syspath_from_watch(void *data,
|
|||
|| (strcmp(test, "drm")))
|
||||
goto error;
|
||||
|
||||
case EEZE_UDEV_TYPE_BACKLIGHT:
|
||||
if ((!(test = udev_device_get_subsystem(device)))
|
||||
|| (strcmp(test, "backlight")))
|
||||
goto error;
|
||||
|
||||
case EEZE_UDEV_TYPE_LEDS:
|
||||
if ((!(test = udev_device_get_subsystem(device)))
|
||||
|| (strcmp(test, "leds")))
|
||||
goto error;
|
||||
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue