![Yong Wang](/assets/img/avatar_default.png)
Use the standard config option CONFIG_PM to enable rtl8192e PM functions. Tested on Samsung N140 and it works fine. Without enabling the PM functions, the box always fails to resume. Signed-off-by: Yong Wang <yong.y.wang@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
25 lines
703 B
C
25 lines
703 B
C
/*
|
|
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)
|
|
|
|
*/
|
|
|
|
#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
|