// SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) 2018 MediaTek Inc. */ #include #include #include #include #include "f_mtp.h" static struct usb_function_instance *ptp_alloc_inst(void) { return alloc_inst_mtp_ptp(false); } static struct usb_function *ptp_alloc(struct usb_function_instance *fi) { return function_alloc_mtp_ptp(fi, false); } DECLARE_USB_FUNCTION_INIT(ptp, ptp_alloc_inst, ptp_alloc); MODULE_LICENSE("GPL"); MODULE_AUTHOR("Badhri Jagan Sridharan");