Skip to content

Commit 2a1802b

Browse files
committed
fixup! rust: drm: Add Device and Driver abstractions
1 parent 07f0886 commit 2a1802b

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

rust/kernel/drm/drv.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,6 @@ pub struct AllocOps {
9696
sgt: *mut bindings::sg_table,
9797
) -> *mut bindings::drm_gem_object,
9898
>,
99-
pub(crate) gem_prime_mmap: Option<
100-
unsafe extern "C" fn(
101-
obj: *mut bindings::drm_gem_object,
102-
vma: *mut bindings::vm_area_struct,
103-
) -> core::ffi::c_int,
104-
>,
10599
pub(crate) dumb_create: Option<
106100
unsafe extern "C" fn(
107101
file_priv: *mut bindings::drm_file,
@@ -223,7 +217,6 @@ impl<T: Driver> Registration<T> {
223217
prime_fd_to_handle: T::Object::ALLOC_OPS.prime_fd_to_handle,
224218
gem_prime_import: T::Object::ALLOC_OPS.gem_prime_import,
225219
gem_prime_import_sg_table: T::Object::ALLOC_OPS.gem_prime_import_sg_table,
226-
gem_prime_mmap: T::Object::ALLOC_OPS.gem_prime_mmap,
227220
dumb_create: T::Object::ALLOC_OPS.dumb_create,
228221
dumb_map_offset: T::Object::ALLOC_OPS.dumb_map_offset,
229222
show_fdinfo: None,

0 commit comments

Comments
 (0)