diff options
author | Asahi Lina <lina@asahilina.net> | 2023-02-05 20:42:15 +0900 |
---|---|---|
committer | Danilo Krummrich <dakr@kernel.org> | 2024-10-22 22:55:10 +0200 |
commit | 370a36f1198b9e6ffce9dada51e0f530d6dc4739 (patch) | |
tree | ce9f01c319490dac8974402d5c94b154ac3f95ae /rust/bindings | |
parent | d47199430835aaf2bc27cfc0b8893820a6137eda (diff) |
rust: drm: ioctl: Add DRM ioctl abstraction
DRM drivers need to be able to declare which driver-specific ioctls they
support. Add an abstraction implementing the required types and a helper
macro to generate the ioctl definition inside the DRM driver.
Note that this macro is not usable until further bits of the abstraction
are in place (but it will not fail to compile on its own, if not called).
Signed-off-by: Asahi Lina <lina@asahilina.net>
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'rust/bindings')
-rw-r--r-- | rust/bindings/bindings_helper.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rust/bindings/bindings_helper.h b/rust/bindings/bindings_helper.h index 217c776615b9..6e24ccd3ef07 100644 --- a/rust/bindings/bindings_helper.h +++ b/rust/bindings/bindings_helper.h @@ -6,6 +6,7 @@ * Sorted alphabetically. */ +#include <drm/drm_ioctl.h> #include <kunit/test.h> #include <linux/blk-mq.h> #include <linux/blk_types.h> |