From 2d9903621dbfa6524e7e98fded2fae31ef09f484 Mon Sep 17 00:00:00 2001 From: Randy Dunlap Date: Thu, 19 May 2011 08:52:34 -0700 Subject: [PATCH] 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 Signed-off-by: Greg Kroah-Hartman --- drivers/staging/mei/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/mei/main.c b/drivers/staging/mei/main.c index 16ae1a8fbbd1..bfd1b46ec748 100644 --- a/drivers/staging/mei/main.c +++ b/drivers/staging/mei/main.c @@ -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 -- 2.20.1