projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c915bed
)
ARM: CSR: IRQ: add simple irq_domain so that hw irq can map to Linux
author
Barry Song
<Baohua.Song@csr.com>
Mon, 5 Sep 2011 05:15:18 +0000
(22:15 -0700)
committer
Barry Song
<21cnbao@gmail.com>
Sun, 11 Sep 2011 01:15:09 +0000
(09:15 +0800)
Signed-off-by: Barry Song <Baohua.Song@csr.com>
arch/arm/mach-prima2/irq.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-prima2/irq.c
b/arch/arm/mach-prima2/irq.c
index 7af254d046ba0044385be65514101a9820c2618a..cf80a72c0a09890ab790104015a510521caef2c8 100644
(file)
--- a/
arch/arm/mach-prima2/irq.c
+++ b/
arch/arm/mach-prima2/irq.c
@@
-13,6
+13,7
@@
#include <asm/mach/irq.h>
#include <linux/of.h>
#include <linux/of_address.h>
+#include <linux/irqdomain.h>
#define SIRFSOC_INT_RISC_MASK0 0x0018
#define SIRFSOC_INT_RISC_MASK1 0x001C
@@
-66,6
+67,8
@@
void __init sirfsoc_of_irq_init(void)
if (!sirfsoc_intc_base)
panic("unable to map intc cpu registers\n");
+ irq_domain_add_simple(np, 0);
+
of_node_put(np);
sirfsoc_irq_init();