summaryrefslogtreecommitdiff
path: root/include/linux/usb/fastboot.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/usb/fastboot.h')
-rw-r--r--include/linux/usb/fastboot.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/linux/usb/fastboot.h b/include/linux/usb/fastboot.h
new file mode 100644
index 0000000000..d0dbd0b7b7
--- /dev/null
+++ b/include/linux/usb/fastboot.h
@@ -0,0 +1,19 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#ifndef _USB_FASTBOOT_H
+#define _USB_FASTBOOT_H
+
+#include <linux/usb/composite.h>
+#include <fastboot.h>
+
+/**
+ * struct f_fastboot_opts - options to configure the fastboot gadget
+ * @common: Options common to all fastboot protocol variants
+ * @func_inst: The USB function instance to register on
+ */
+struct f_fastboot_opts {
+ struct fastboot_opts common;
+ struct usb_function_instance func_inst;
+};
+
+#endif /* _USB_FASTBOOT_H */