2 * Copyright (C) 2014 Google, Inc.
3 * Author: Badhri Jagan Sridharan <badhri@android.com>
5 * This software is licensed under the terms of the GNU General Public
6 * License version 2, as published by the Free Software Foundation, and
7 * may be copied, distributed, and modified under those terms.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
16 extern struct usb_function_instance *alloc_inst_mtp_ptp(bool mtp_config);
17 extern struct usb_function *function_alloc_mtp_ptp(
18 struct usb_function_instance *fi, bool mtp_config);