summaryrefslogtreecommitdiff
path: root/include/linux/usb/fastboot.h
blob: d0dbd0b7b72d1d3088dcf66d4f5b76c06e9252ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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 */