From 1f86faf1e6fdd5919aa6f2749b72038d1b78d966 Mon Sep 17 00:00:00 2001 From: Victor Brekenfeld Date: Sun, 25 Apr 2021 23:31:22 +0200 Subject: [PATCH] drm: re-add device_id() to DrmDevice --- src/backend/drm/device/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/backend/drm/device/mod.rs b/src/backend/drm/device/mod.rs index a147a4b..b3e55b1 100644 --- a/src/backend/drm/device/mod.rs +++ b/src/backend/drm/device/mod.rs @@ -379,6 +379,10 @@ impl DrmDevice { formats, }) } + + pub fn device_id(&self) -> dev_t { + self.dev_id + } } pub struct Planes {