aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/ipic.h
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2007-01-26 02:45:32 -0500
committerKumar Gala <galak@kernel.crashing.org>2007-01-26 02:45:32 -0500
commit126186a055d965d5a7b1ab560e343ef70694f349 (patch)
treee4b88a405711760a043994ba910578e8df8d60a5 /include/asm-powerpc/ipic.h
parente60bd7f14dbb6239d07676be420a21f8a36d014f (diff)
[POWERPC] 83xx: Return a point to the struct ipic from ipic_init()
It's useful to have access to struct ipic handle that just got created in ipic_init(). For example, if we want to setup an external IRQ with out a device node we need access ipic->irqhost to create the virtual to HW IRQ mapping and to set the IRQ sense. With this we can mimic the old sense array concept that existed in arch/ppc. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/asm-powerpc/ipic.h')
-rw-r--r--include/asm-powerpc/ipic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-powerpc/ipic.h b/include/asm-powerpc/ipic.h
index 9fbb0341586..edec79dcb7c 100644
--- a/include/asm-powerpc/ipic.h
+++ b/include/asm-powerpc/ipic.h
@@ -78,7 +78,7 @@ extern u32 ipic_get_mcp_status(void);
78extern void ipic_clear_mcp_status(u32 mask); 78extern void ipic_clear_mcp_status(u32 mask);
79 79
80#ifdef CONFIG_PPC_MERGE 80#ifdef CONFIG_PPC_MERGE
81extern void ipic_init(struct device_node *node, unsigned int flags); 81extern struct ipic * ipic_init(struct device_node *node, unsigned int flags);
82extern unsigned int ipic_get_irq(void); 82extern unsigned int ipic_get_irq(void);
83#else 83#else
84extern void ipic_init(phys_addr_t phys_addr, unsigned int flags, 84extern void ipic_init(phys_addr_t phys_addr, unsigned int flags,