git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/penberg...
[pandora-kernel.git]
/
arch
/
arm
/
mach-omap1
/
pm.c
diff --git
a/arch/arm/mach-omap1/pm.c
b/arch/arm/mach-omap1/pm.c
index
b1d3f9f
..
0cca23a
100644
(file)
--- a/
arch/arm/mach-omap1/pm.c
+++ b/
arch/arm/mach-omap1/pm.c
@@
-661,6
+661,9
@@
static int __init omap_pm_init(void)
int error;
#endif
+ if (!cpu_class_is_omap1())
+ return -ENODEV;
+
printk("Power Management for TI OMAP.\n");
/*