summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_device.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_device.c b/src/lib/ecore_drm2/ecore_drm2_device.c
index da35231ba2..dea67b1ab3 100644
--- a/src/lib/ecore_drm2/ecore_drm2_device.c
+++ b/src/lib/ecore_drm2/ecore_drm2_device.c
@@ -127,6 +127,8 @@ _drm2_device_find(Elput_Manager *em, const char *seat)
127 if (!modeset) 127 if (!modeset)
128 goto cont; 128 goto cont;
129 129
130 chosen_dev = dev;
131
130 dparent = eeze_udev_syspath_get_parent_filtered(dev, "pci", NULL); 132 dparent = eeze_udev_syspath_get_parent_filtered(dev, "pci", NULL);
131 if (!dparent) 133 if (!dparent)
132 { 134 {
@@ -141,7 +143,6 @@ _drm2_device_find(Elput_Manager *em, const char *seat)
141 { 143 {
142 const char *id; 144 const char *id;
143 145
144 chosen_dev = dev;
145 id = eeze_udev_syspath_get_sysattr(dparent, "boot_vga"); 146 id = eeze_udev_syspath_get_sysattr(dparent, "boot_vga");
146 if (id) 147 if (id)
147 { 148 {