summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm/ecore_drm_device.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore_drm/ecore_drm_device.c')
-rw-r--r--src/lib/ecore_drm/ecore_drm_device.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/ecore_drm/ecore_drm_device.c b/src/lib/ecore_drm/ecore_drm_device.c
index 2f7495d78d..7e43ad21a0 100644
--- a/src/lib/ecore_drm/ecore_drm_device.c
+++ b/src/lib/ecore_drm/ecore_drm_device.c
@@ -185,6 +185,12 @@ ecore_drm_device_find(const char *name, const char *seat)
185 goto cont; 185 goto cont;
186 186
187 devparent = eeze_udev_syspath_get_parent_filtered(device, "pci", NULL); 187 devparent = eeze_udev_syspath_get_parent_filtered(device, "pci", NULL);
188 if (!devparent)
189 {
190 devparent =
191 eeze_udev_syspath_get_parent_filtered(device, "platform", NULL);
192 }
193
188 if (devparent) 194 if (devparent)
189 { 195 {
190 const char *id; 196 const char *id;