1
0
Fork 0

staging: fix mei build when PM is not enabled

Fix mei build when CONFIG_PM is not enabled (i.e., fix typo):

drivers/staging/mei/main.c:1159: error: 'MEI_PM_OPS' undeclared here (not in a function)

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
hifive-unleashed-5.1
Randy Dunlap 2011-05-19 08:52:34 -07:00 committed by Greg Kroah-Hartman
parent 3fadc1212a
commit 2d9903621d
1 changed files with 1 additions and 1 deletions

View File

@ -1145,7 +1145,7 @@ static int mei_pci_resume(struct device *device)
static SIMPLE_DEV_PM_OPS(mei_pm_ops, mei_pci_suspend, mei_pci_resume);
#define MEI_PM_OPS (&mei_pm_ops)
#else
#define MIE_PM_OPS NULL
#define MEI_PM_OPS NULL
#endif /* CONFIG_PM */
/*
* PCI driver structure