Skip to content

Commit b132c17

Browse files
committed
fixup! *RFL import: The rest of kernel::device (minus clk stuff)
1 parent f05a51a commit b132c17

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rust/kernel/device.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ impl<T, U, V> Data<T, U, V> {
276276
key1: LockClassKey,
277277
) -> Result<Pin<UniqueArc<Self>>> {
278278
let ret = UniqueArc::pin_init(pin_init!(Self {
279-
registrations <- Mutex::new(registrations, name, key1),
279+
registrations <- Mutex::new_with_key(registrations, name, key1),
280280
resources,
281281
general,
282282
}))?;

0 commit comments

Comments
 (0)