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 'x86-olpc-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[pandora-kernel.git]
/
arch
/
arm
/
mach-omap1
/
leds.c
diff --git
a/arch/arm/mach-omap1/leds.c
b/arch/arm/mach-omap1/leds.c
index
277f356
..
22eb11d
100644
(file)
--- a/
arch/arm/mach-omap1/leds.c
+++ b/
arch/arm/mach-omap1/leds.c
@@
-17,6
+17,9
@@
static int __init
omap_leds_init(void)
{
+ if (!cpu_class_is_omap1())
+ return -ENODEV;
+
if (machine_is_omap_innovator())
leds_event = innovator_leds_event;