drm: re-add device_id() to DrmDevice

This commit is contained in:
Victor Brekenfeld 2021-04-25 23:31:22 +02:00
parent c05a7aafdf
commit 1f86faf1e6
1 changed files with 4 additions and 0 deletions

View File

@ -379,6 +379,10 @@ impl<A: AsRawFd + 'static> DrmDevice<A> {
formats,
})
}
pub fn device_id(&self) -> dev_t {
self.dev_id
}
}
pub struct Planes {