Skip to content

Commit

Permalink
staging: fix mei build when PM is not enabled
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Randy Dunlap authored and Greg Kroah-Hartman committed May 19, 2011
1 parent 3fadc12 commit 2d99036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/mei/main.c
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 2d99036

Please sign in to comment.