Duy Truong | 790f06d | 2013-02-13 16:38:12 -0800 | [diff] [blame] | 1 | /* Copyright (c) 2012, The Linux Foundation. All rights reserved. |
Shalabh Jain | f7228dc | 2012-05-23 17:32:05 -0700 | [diff] [blame] | 2 | * |
| 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 | |
| 20 | int diagfwd_read_complete_smux(void); |
| 21 | int diagfwd_write_complete_smux(void); |
| 22 | int diagfwd_connect_smux(void); |
Shalabh Jain | 737fca7 | 2012-11-14 21:53:43 -0800 | [diff] [blame] | 23 | void diag_usb_read_complete_smux_fn(struct work_struct *w); |
| 24 | void diag_read_usb_smux_work_fn(struct work_struct *work); |
Shalabh Jain | f7228dc | 2012-05-23 17:32:05 -0700 | [diff] [blame] | 25 | extern struct platform_driver msm_diagfwd_smux_driver; |
| 26 | |
| 27 | #endif |