summaryrefslogtreecommitdiff
path: root/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-05-31 17:46:21 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-05-31 17:48:26 +0900
commit07da7461947409fdc443c2362bf38795ca1ab7e0 (patch)
tree453c6c071164f22a406bd0c94fc1aaacd8d3576d /src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
parent6e5431579e70cd1fd21b8cabe3e0b7ba457766af (diff)
drm: Fix build warning (invalid enum type)
Diffstat (limited to '')
-rw-r--r--src/modules/ecore_evas/engines/drm/ecore_evas_drm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
index 279c5aa289..c4446c11bd 100644
--- a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
+++ b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
@@ -140,12 +140,12 @@ _drm_device_change(void *d EINA_UNUSED, int t EINA_UNUSED, void *event)
140 { 140 {
141 Eina_Stringshare *name = elput_seat_name_get(seat); 141 Eina_Stringshare *name = elput_seat_name_get(seat);
142 edata->seat = evas_device_add_full(ee->evas, name, 142 edata->seat = evas_device_add_full(ee->evas, name,
143 "drm seat", NULL, NULL, EVAS_DEVICE_CLASS_SEAT, EVAS_DEVICE_CLASS_NONE); 143 "drm seat", NULL, NULL, EVAS_DEVICE_CLASS_SEAT, EVAS_DEVICE_SUBCLASS_NONE);
144 evas_device_seat_id_set(edata->seat, strtol(name, NULL, 10)); 144 evas_device_seat_id_set(edata->seat, strtol(name, NULL, 10));
145 } 145 }
146 146
147 dev = evas_device_add_full(ee->evas, elput_device_output_name_get(ev->device), 147 dev = evas_device_add_full(ee->evas, elput_device_output_name_get(ev->device),
148 "drm device", edata->seat, NULL, devclass, EVAS_DEVICE_CLASS_NONE); 148 "drm device", edata->seat, NULL, devclass, EVAS_DEVICE_SUBCLASS_NONE);
149 ev->device->evas_device = dev; 149 ev->device->evas_device = dev;
150 break; 150 break;
151 } 151 }