diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2011-05-19 08:52:34 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-05-19 15:34:31 -0700 |
commit | 2d9903621dbfa6524e7e98fded2fae31ef09f484 (patch) | |
tree | f0443a7dc6d09e6120383b1aaff94618c6fcf78b | |
parent | 3fadc1212a53908bc28e6351a40efd148739108b (diff) | |
download | op-kernel-dev-2d9903621dbfa6524e7e98fded2fae31ef09f484.zip op-kernel-dev-2d9903621dbfa6524e7e98fded2fae31ef09f484.tar.gz |
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 <randy.dunlap@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/staging/mei/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/mei/main.c b/drivers/staging/mei/main.c index 16ae1a8..bfd1b46 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 |