diff --git a/drm-ffi/src/lib.rs b/drm-ffi/src/lib.rs index cb37515..4be9614 100644 --- a/drm-ffi/src/lib.rs +++ b/drm-ffi/src/lib.rs @@ -147,6 +147,11 @@ pub fn set_capability(fd: BorrowedFd<'_>, cty: u64, val: bool) -> io::Result, version: &mut drm_set_version) -> io::Result<()> { + unsafe { ioctl::set_version(fd, version) } +} + /// Gets the driver version for this device. pub fn get_version( fd: BorrowedFd<'_>,