// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2017 MediaTek Inc. */ #define DRIVER_AUTHOR "jlguo " #define DRIVER_DESC "Rawbulk Gadget - transport data from CP to Gadget" #define DRIVER_VERSION "1.0.3" #include #include #include #include #include #include #include #include #include "viatel_rawbulk.h" #include #include #include "configfs.h" /* int setdtr, data_connect; */ /* struct work_struct flow_control; */ /* struct work_struct dtr_status; */ static struct usb_function_instance *via_ets_alloc_inst(void) { return alloc_inst_rawbulk(RAWBULK_TID_ETS); } static struct usb_function *via_ets_alloc(struct usb_function_instance *fi) { return rawbulk_alloc(fi, RAWBULK_TID_ETS); } DECLARE_USB_FUNCTION_INIT(via_ets, via_ets_alloc_inst, via_ets_alloc); MODULE_LICENSE("GPL");