]> www.infradead.org Git - users/jedix/linux-maple.git/commit
rust: auxiliary: add auxiliary device / driver abstractions
authorDanilo Krummrich <dakr@kernel.org>
Mon, 14 Apr 2025 13:18:06 +0000 (15:18 +0200)
committerDanilo Krummrich <dakr@kernel.org>
Sat, 19 Apr 2025 08:54:25 +0000 (10:54 +0200)
commitce735e73dd59b169b877cedd0753297c81c2a091
tree2d9bc06557bef51a97eb409a4d11a1aa27d9e6b8
parenta4c9f71e3440dc6e944fa05bb7fcb3949fe5bcd4
rust: auxiliary: add auxiliary device / driver abstractions

Implement the basic auxiliary abstractions required to implement a
driver matching an auxiliary device.

The design and implementation is analogous to PCI and platform and is
based on the generic device / driver abstractions.

Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Link: https://lore.kernel.org/r/20250414131934.28418-4-dakr@kernel.org
[ Fix typos, `let _ =` => `drop()`, use `kernel::ffi`. - Danilo ]
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
MAINTAINERS
rust/bindings/bindings_helper.h
rust/helpers/auxiliary.c [new file with mode: 0644]
rust/helpers/helpers.c
rust/kernel/auxiliary.rs [new file with mode: 0644]
rust/kernel/device.rs
rust/kernel/lib.rs