Commit d0f6fc3f authored by Alice Ryhl's avatar Alice Ryhl Committed by Greg Kroah-Hartman
Browse files

rust: usb: add __rust_helper to helpers

parent e46bcc4e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2,7 +2,8 @@

#include <linux/usb.h>

struct usb_device *rust_helper_interface_to_usbdev(struct usb_interface *intf)
__rust_helper struct usb_device *
rust_helper_interface_to_usbdev(struct usb_interface *intf)
{
	return interface_to_usbdev(intf);
}