From: Randy Dunlap <[email protected]>

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 <[email protected]>
---
 drivers/staging/mei/main.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20110519.orig/drivers/staging/mei/main.c
+++ linux-next-20110519/drivers/staging/mei/main.c
@@ -1145,7 +1145,7 @@ static int mei_pci_resume(struct 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
_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

Reply via email to