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>
#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>
#include "task.c"
#include "time.c"
#include "uaccess.c"
-#include "usb.c"
#include "vmalloc.c"
#include "wait.c"
#include "workqueue.c"
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;
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.