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

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: default avatarDaniel Almeida <daniel.almeida@collabora.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent cc80dbb7
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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>
+0 −1
Original line number Diff line number Diff line
@@ -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"
+0 −2
Original line number Diff line number Diff line
@@ -127,8 +127,6 @@
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
@@ -85,7 +85,7 @@ config SAMPLE_RUST_DRIVER_PLATFORM

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