summaryrefslogtreecommitdiffstats
path: root/include/usb/fastboot.h
blob: 7dc445455a84068d3cb219fbf94aed80dce14e8f (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 <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 */