temp revert rk change
[firefly-linux-kernel-4.4.55.git] / include / linux / usb / oob_wake.h
1 /*
2  * Copyright (C) 2011 Motorola, Inc.
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2 as
6  * published by the Free Software Foundation.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11  * GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program; if not, write to the Free Software
15  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
16  * 02111-1307, USA
17  */
18 #ifndef __USB_OOB_WAKE_H__
19 #define __USB_OOB_WAKE_H__
20 #include <linux/usb.h>
21
22 struct oob_wake_platform_data {
23         unsigned int gpio;
24         __le16 vendor;
25         __le16 product;
26 };
27
28 int oob_wake_register(struct usb_interface *intf);
29 void oob_wake_unregister(struct usb_interface *intf);
30 #endif /* __USB_OOB_WAKE_H__ */