eeze: Add case for EEZE_UDEV_TYPE_DRM in eeze_udev_find_by_type function

Summary: This adds the ability to find drm cards using
eeze_udev_find_by_type function.

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2014-09-23 09:56:12 -04:00
parent 6469405540
commit d0dbd498df
1 changed files with 6 additions and 0 deletions

View File

@ -235,6 +235,12 @@ eeze_udev_find_by_type(Eeze_Udev_Type etype,
case EEZE_UDEV_TYPE_BLUETOOTH:
udev_enumerate_add_match_subsystem(en, "bluetooth");
break;
case EEZE_UDEV_TYPE_DRM:
udev_enumerate_add_match_subsystem(en, "drm");
udev_enumerate_add_match_subsystem(en, "card[0-9]*");
break;
default:
break;
}