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
x86: DT: Fix return condition in irq_create_of_mapping()
[pandora-kernel.git]
/
arch
/
x86
/
kernel
/
devicetree.c
diff --git
a/arch/x86/kernel/devicetree.c
b/arch/x86/kernel/devicetree.c
index
7a8cebc
..
9c91bad
100644
(file)
--- a/
arch/x86/kernel/devicetree.c
+++ b/
arch/x86/kernel/devicetree.c
@@
-65,7
+65,7
@@
unsigned int irq_create_of_mapping(struct device_node *controller,
return 0;
ret = ih->xlate(ih, intspec, intsize, &virq, &type);
if (ret)
- return
ret
;
+ return
0
;
if (type == IRQ_TYPE_NONE)
return virq;
/* set the mask if it is different from current */