staging: fix mei build when PM is not enabled
authorRandy Dunlap <randy.dunlap@oracle.com>
Thu, 19 May 2011 15:52:34 +0000 (08:52 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 19 May 2011 22:34:31 +0000 (15:34 -0700)
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>
drivers/staging/mei/main.c

index 16ae1a8fbbd1e5af40493bf67f59785eba020c20..bfd1b46ec748c151e4b22c9f7b3e62fecbd65620 100644 (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