#include <linux/kernel.h>
#include <linux/module.h>
#include "u_serial.h"
#define DRIVER_DESC …
#define DRIVER_VERSION …
#define ACM_MS_VENDOR_NUM …
#define ACM_MS_PRODUCT_NUM …
#include "f_mass_storage.h"
USB_GADGET_COMPOSITE_OPTIONS(…);
static struct usb_device_descriptor device_desc = …;
static const struct usb_descriptor_header *otg_desc[2];
static struct usb_string strings_dev[] = …;
static struct usb_gadget_strings stringtab_dev = …;
static struct usb_gadget_strings *dev_strings[] = …;
static struct fsg_module_parameters fsg_mod_data = …;
#ifdef CONFIG_USB_GADGET_DEBUG_FILES
static unsigned int fsg_num_buffers = …;
#else
#define fsg_num_buffers …
#endif
FSG_MODULE_PARAMETERS(…);
static struct usb_function *f_acm;
static struct usb_function_instance *f_acm_inst;
static struct usb_function_instance *fi_msg;
static struct usb_function *f_msg;
static int acm_ms_do_config(struct usb_configuration *c)
{ … }
static struct usb_configuration acm_ms_config_driver = …;
static int acm_ms_bind(struct usb_composite_dev *cdev)
{ … }
static int acm_ms_unbind(struct usb_composite_dev *cdev)
{ … }
static struct usb_composite_driver acm_ms_driver = …;
module_usb_composite_driver(…);
MODULE_DESCRIPTION(…);
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;