summaryrefslogtreecommitdiff
path: root/src/lib/eeze/eeze_udev_watch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/eeze/eeze_udev_watch.c')
-rw-r--r--src/lib/eeze/eeze_udev_watch.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/eeze/eeze_udev_watch.c b/src/lib/eeze/eeze_udev_watch.c
index c51f396548..0d4ad29b00 100644
--- a/src/lib/eeze/eeze_udev_watch.c
+++ b/src/lib/eeze/eeze_udev_watch.c
@@ -240,6 +240,16 @@ _get_syspath_from_watch(void *data,
240 || (strcmp(test, "drm"))) 240 || (strcmp(test, "drm")))
241 goto error; 241 goto error;
242 242
243 case EEZE_UDEV_TYPE_BACKLIGHT:
244 if ((!(test = udev_device_get_subsystem(device)))
245 || (strcmp(test, "backlight")))
246 goto error;
247
248 case EEZE_UDEV_TYPE_LEDS:
249 if ((!(test = udev_device_get_subsystem(device)))
250 || (strcmp(test, "leds")))
251 goto error;
252
243 break; 253 break;
244 default: 254 default:
245 break; 255 break;