summaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8192e/r8192_pm.h
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2009-08-25 16:20:41 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2009-08-25 16:20:41 +1000
commitb3f5d1bea9631022198ccf1160db6e5163e334ea (patch)
treede8fb28a80622afe74963c78a30280ef7b7c1062 /drivers/staging/rtl8192e/r8192_pm.h
parent6fb212813333179684879237b18d1712c61e3ad2 (diff)
parent19464c2d243f08d8caad28f5c002c44e93470967 (diff)
Merge branch 'quilt/staging'
Conflicts: drivers/staging/epl/VirtualEthernetLinux.c
Diffstat (limited to 'drivers/staging/rtl8192e/r8192_pm.h')
-rw-r--r--drivers/staging/rtl8192e/r8192_pm.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/drivers/staging/rtl8192e/r8192_pm.h b/drivers/staging/rtl8192e/r8192_pm.h
new file mode 100644
index 000000000000..68d292b1d864
--- /dev/null
+++ b/drivers/staging/rtl8192e/r8192_pm.h
@@ -0,0 +1,28 @@
+/*
+ Power management interface routines.
+ Written by Mariusz Matuszek.
+ This code is currently just a placeholder for later work and
+ does not do anything useful.
+
+ This is part of rtl8180 OpenSource driver.
+ Copyright (C) Andrea Merello 2004 <andreamrl@tiscali.it>
+ Released under the terms of GPL (General Public Licence)
+
+*/
+
+#ifdef CONFIG_PM_RTL
+
+#ifndef R8192E_PM_H
+#define R8192E_PM_H
+
+#include <linux/types.h>
+#include <linux/pci.h>
+
+int rtl8192E_save_state (struct pci_dev *dev, pm_message_t state);
+int rtl8192E_suspend (struct pci_dev *dev, pm_message_t state);
+int rtl8192E_resume (struct pci_dev *dev);
+int rtl8192E_enable_wake (struct pci_dev *dev, pm_message_t state, int enable);
+
+#endif //R8192E_PM_H
+
+#endif // CONFIG_PM_RTL