Commit 9a55e007 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

Revert "USB: disable rust bindings from the build for now"

This reverts commit c584a1c7.

It brings the rust bindings for USB back into the build so that we can
work off of this for future kernel releases.

Link: https://lore.kernel.org/r/2025100827-divorcee-steadier-b40b@gregkh


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 30cd2cb1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -80,6 +80,7 @@
#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>
+1 −0
Original line number Diff line number Diff line
@@ -56,6 +56,7 @@
#include "task.c"
#include "time.c"
#include "uaccess.c"
#include "usb.c"
#include "vmalloc.c"
#include "wait.c"
#include "workqueue.c"
+2 −0
Original line number Diff line number Diff line
@@ -138,6 +138,8 @@
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;
+1 −1
Original line number Diff line number Diff line
@@ -107,7 +107,7 @@ config SAMPLE_RUST_DRIVER_PLATFORM

config SAMPLE_RUST_DRIVER_USB
	tristate "USB Driver"
	depends on USB = y && BROKEN
	depends on USB = y
	help
	  This option builds the Rust USB driver sample.