Add function to return the file descriptor for a ecore_drm_device

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2014-01-21 14:08:42 +00:00
parent 124ce1fcfe
commit 6f65d5c983
1 changed files with 7 additions and 0 deletions

View File

@ -576,3 +576,10 @@ ecore_drm_device_master_drop(Ecore_Drm_Device *dev)
return EINA_TRUE;
}
EAPI int
ecore_drm_device_fd_get(Ecore_Drm_Device *dev)
{
if (!dev) return -1;
return dev->drm.fd;
}