summaryrefslogtreecommitdiff
path: root/rust/bindings
diff options
context:
space:
mode:
authorDanilo Krummrich <dakr@kernel.org>2025-04-14 15:18:06 +0200
committerDanilo Krummrich <dakr@kernel.org>2025-04-19 10:54:25 +0200
commitce735e73dd59b169b877cedd0753297c81c2a091 (patch)
tree2d9bc06557bef51a97eb409a4d11a1aa27d9e6b8 /rust/bindings
parenta4c9f71e3440dc6e944fa05bb7fcb3949fe5bcd4 (diff)
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>
Diffstat (limited to 'rust/bindings')
-rw-r--r--rust/bindings/bindings_helper.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/rust/bindings/bindings_helper.h b/rust/bindings/bindings_helper.h
index ab37e1d35c70..8a2add69e5d6 100644
--- a/rust/bindings/bindings_helper.h
+++ b/rust/bindings/bindings_helper.h
@@ -7,6 +7,7 @@
*/
#include <kunit/test.h>
+#include <linux/auxiliary_bus.h>
#include <linux/blk-mq.h>
#include <linux/blk_types.h>
#include <linux/blkdev.h>