summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2014-09-23 09:56:12 -0400
committerChris Michael <cp.michael@samsung.com>2014-09-23 10:04:30 -0400
commitd0dbd498dfa91e1e004406a3eeb72119cc4ce41c (patch)
tree0d59f1f08bbd1cd6f21bfc99379f29e7ef37b585
parent646940554058c4bcaff9bd65f2c3c3d420727ef5 (diff)
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>
-rw-r--r--src/lib/eeze/eeze_udev_find.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/eeze/eeze_udev_find.c b/src/lib/eeze/eeze_udev_find.c
index 805f4e6..71aa30b 100644
--- a/src/lib/eeze/eeze_udev_find.c
+++ b/src/lib/eeze/eeze_udev_find.c
@@ -235,6 +235,12 @@ eeze_udev_find_by_type(Eeze_Udev_Type etype,
235 case EEZE_UDEV_TYPE_BLUETOOTH: 235 case EEZE_UDEV_TYPE_BLUETOOTH:
236 udev_enumerate_add_match_subsystem(en, "bluetooth"); 236 udev_enumerate_add_match_subsystem(en, "bluetooth");
237 break; 237 break;
238
239 case EEZE_UDEV_TYPE_DRM:
240 udev_enumerate_add_match_subsystem(en, "drm");
241 udev_enumerate_add_match_subsystem(en, "card[0-9]*");
242 break;
243
238 default: 244 default:
239 break; 245 break;
240 } 246 }