]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - drivers/staging/rtl8192u/r8180_pm.c
0c58d0ed502af9591b9d6209f8d06117da959959
[karo-tx-linux.git] / drivers / staging / rtl8192u / r8180_pm.c
1 /*
2    Power management interface routines.
3    Written by Mariusz Matuszek.
4    This code is currently just a placeholder for later work and
5    does not do anything useful.
6
7    This is part of rtl8180 OpenSource driver.
8    Copyright (C) Andrea Merello 2004  <andreamrl@tiscali.it>
9    Released under the terms of GPL (General Public Licence)
10 */
11
12 #ifdef CONFIG_RTL8180_PM
13
14
15 #include "r8180_hw.h"
16 #include "r8180_pm.h"
17
18 int rtl8180_save_state (struct pci_dev *dev, u32 state)
19 {
20         printk(KERN_NOTICE "r8180 save state call (state %u).\n", state);
21         return(-EAGAIN);
22 }
23
24
25 int rtl8180_suspend (struct pci_dev *dev, u32 state)
26 {
27         printk(KERN_NOTICE "r8180 suspend call (state %u).\n", state);
28         return(-EAGAIN);
29 }
30
31
32 int rtl8180_resume (struct pci_dev *dev)
33 {
34         printk(KERN_NOTICE "r8180 resume call.\n");
35         return(-EAGAIN);
36 }
37
38
39 int rtl8180_enable_wake (struct pci_dev *dev, u32 state, int enable)
40 {
41         printk(KERN_NOTICE "r8180 enable wake call (state %u, enable %d).\n",
42                state, enable);
43         return(-EAGAIN);
44 }
45
46
47
48 #endif //CONFIG_RTL8180_PM