diff options
Diffstat (limited to 'drivers/staging/rtl8192e/rtl_pm.h')
-rw-r--r-- | drivers/staging/rtl8192e/rtl_pm.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/drivers/staging/rtl8192e/rtl_pm.h b/drivers/staging/rtl8192e/rtl_pm.h new file mode 100644 index 00000000000..edf8427dd81 --- /dev/null +++ b/drivers/staging/rtl8192e/rtl_pm.h | |||
@@ -0,0 +1,39 @@ | |||
1 | /****************************************************************************** | ||
2 | * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved. | ||
3 | * | ||
4 | * This program is distributed in the hope that it will be useful, but WITHOUT | ||
5 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
6 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
7 | * more details. | ||
8 | * | ||
9 | * You should have received a copy of the GNU General Public License along with | ||
10 | * this program; if not, write to the Free Software Foundation, Inc., | ||
11 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA | ||
12 | * | ||
13 | * The full GNU General Public License is included in this distribution in the | ||
14 | * file called LICENSE. | ||
15 | * | ||
16 | * Contact Information: | ||
17 | * wlanfae <wlanfae@realtek.com> | ||
18 | ******************************************************************************/ | ||
19 | |||
20 | #ifdef CONFIG_PM_RTL | ||
21 | |||
22 | #ifndef R8192E_PM_H | ||
23 | #define R8192E_PM_H | ||
24 | |||
25 | #include <linux/types.h> | ||
26 | #include <linux/pci.h> | ||
27 | |||
28 | #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,10)) | ||
29 | #define pm_message_t u32 | ||
30 | #endif | ||
31 | |||
32 | int rtl8192E_save_state (struct pci_dev *dev, pm_message_t state); | ||
33 | int rtl8192E_suspend (struct pci_dev *dev, pm_message_t state); | ||
34 | int rtl8192E_resume (struct pci_dev *dev); | ||
35 | int rtl8192E_enable_wake (struct pci_dev *dev, pm_message_t state, int enable); | ||
36 | |||
37 | #endif | ||
38 | |||
39 | #endif | ||