summaryrefslogtreecommitdiff
path: root/rust
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-09-25 14:42:40 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-09-25 14:53:47 +0200
commitc584a1c7c8a192c13637bc51c7b63a9f15fe6474 (patch)
tree6f962759f3698d5ce11dfcd696f30c7de6ceba03 /rust
parentcc80dbb73b5d0c75b105e5214f34e1360670e0a5 (diff)
USB: disable rust bindings from the build for now
The rust USB bindings as submitted are a good start, but they don't really seem to be correct in a number of minor places, so just disable them from the build entirely at this point in time. When they are ready to be re-enabled, this commit can be reverted. Acked-by: Daniel Almeida <daniel.almeida@collabora.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'rust')
-rw-r--r--rust/bindings/bindings_helper.h1
-rw-r--r--rust/helpers/helpers.c1
-rw-r--r--rust/kernel/lib.rs2
3 files changed, 0 insertions, 4 deletions
diff --git a/rust/bindings/bindings_helper.h b/rust/bindings/bindings_helper.h
index 41cd42cd286f..9b3a4ab95818 100644
--- a/rust/bindings/bindings_helper.h
+++ b/rust/bindings/bindings_helper.h
@@ -74,7 +74,6 @@
#include <linux/slab.h>
#include <linux/task_work.h>
#include <linux/tracepoint.h>
-#include <linux/usb.h>
#include <linux/wait.h>
#include <linux/workqueue.h>
#include <linux/xarray.h>
diff --git a/rust/helpers/helpers.c b/rust/helpers/helpers.c
index 04103ab1a349..8e8277bdddca 100644
--- a/rust/helpers/helpers.c
+++ b/rust/helpers/helpers.c
@@ -48,7 +48,6 @@
#include "task.c"
#include "time.c"
#include "uaccess.c"
-#include "usb.c"
#include "vmalloc.c"
#include "wait.c"
#include "workqueue.c"
diff --git a/rust/kernel/lib.rs b/rust/kernel/lib.rs
index 004ca70b816d..99dbb7b2812e 100644
--- a/rust/kernel/lib.rs
+++ b/rust/kernel/lib.rs
@@ -127,8 +127,6 @@ pub mod time;
pub mod tracepoint;
pub mod transmute;
pub mod types;
-#[cfg(CONFIG_USB = "y")]
-pub mod usb;
pub mod uaccess;
pub mod workqueue;
pub mod xarray;