[POWERPC] 83xx: Return a point to the struct ipic from ipic_init()
authorKumar Gala <galak@kernel.crashing.org>
Fri, 26 Jan 2007 07:45:32 +0000 (01:45 -0600)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 26 Jan 2007 07:45:32 +0000 (01:45 -0600)
commit126186a055d965d5a7b1ab560e343ef70694f349
treee4b88a405711760a043994ba910578e8df8d60a5
parente60bd7f14dbb6239d07676be420a21f8a36d014f
[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>
arch/powerpc/sysdev/ipic.c
include/asm-powerpc/ipic.h