]> www.infradead.org Git - users/jedix/linux-maple.git/commit
rust/faux: Add missing parent argument to Registration::new()
authorLyude Paul <lyude@redhat.com>
Thu, 27 Feb 2025 19:35:06 +0000 (14:35 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Feb 2025 02:03:17 +0000 (18:03 -0800)
commit95cb0cb546c2892b7a31ff2fce6573f201a214b8
treeb92d8f68f7f01ad4e8c317fcc7b6649308d809ed
parent6853d9d13dbe596a73ae968e6fb27ba9680b2441
rust/faux: Add missing parent argument to Registration::new()

A little late in the review of the faux device interface, we added the
ability to specify a parent device when creating new faux devices - but
this never got ported over to the rust bindings. So, let's add the missing
argument now so we don't have to convert other users later down the line.

Signed-off-by: Lyude Paul <lyude@redhat.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20250227193522.198344-1-lyude@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
rust/kernel/faux.rs
samples/rust/rust_driver_faux.rs