From: Randy Dunlap Date: Thu, 19 May 2011 15:52:34 +0000 (-0700) Subject: staging: fix mei build when PM is not enabled X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2d9903621dbfa6524e7e98fded2fae31ef09f484;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 --- 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