[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110519085234.2784f588.randy.dunlap@oracle.com>
Date: Thu, 19 May 2011 08:52:34 -0700
From: Randy Dunlap <randy.dunlap@...cle.com>
To: Stephen Rothwell <sfr@...b.auug.org.au>, gregkh <greg@...ah.com>,
driverdevel <devel@...verdev.osuosl.org>
Cc: linux-next@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>
Subject: [PATCH -next] staging: fix mei build when PM is not enabled
From: Randy Dunlap <randy.dunlap@...cle.com>
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@...cle.com>
---
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists