Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2d990362 authored by Randy Dunlap's avatar Randy Dunlap Committed by Greg Kroah-Hartman
Browse files

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: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 3fadc121
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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);
static SIMPLE_DEV_PM_OPS(mei_pm_ops, mei_pci_suspend, mei_pci_resume);
#define MEI_PM_OPS	(&mei_pm_ops)
#define MEI_PM_OPS	(&mei_pm_ops)
#else
#else
#define MIE_PM_OPS	NULL
#define MEI_PM_OPS	NULL
#endif /* CONFIG_PM */
#endif /* CONFIG_PM */
/*
/*
 *  PCI driver structure
 *  PCI driver structure