blob: fcf19d247788ddfebd42fca79de2fbf9bc746c8a [file] [log] [blame]
Duy Truong790f06d2013-02-13 16:38:12 -08001/* Copyright (c) 2012, The Linux Foundation. All rights reserved.
Shalabh Jainf7228dc2012-05-23 17:32:05 -07002 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 */
12
13#ifndef DIAGFWD_SMUX_H
14#define DIAGFWD_SMUX_H
15
16#include <linux/smux.h>
17#define LCID_VALID SMUX_USB_DIAG_0
18#define LCID_INVALID 0
19
20int diagfwd_read_complete_smux(void);
21int diagfwd_write_complete_smux(void);
22int diagfwd_connect_smux(void);
Shalabh Jain737fca72012-11-14 21:53:43 -080023void diag_usb_read_complete_smux_fn(struct work_struct *w);
24void diag_read_usb_smux_work_fn(struct work_struct *work);
Shalabh Jainf7228dc2012-05-23 17:32:05 -070025extern struct platform_driver msm_diagfwd_smux_driver;
26
27#endif