Request_irq fails for IRQ2
Scott Wood
scottwood at freescale.com
Tue Oct 4 04:24:02 EST 2011
On 10/03/2011 09:27 AM, smitha.vanga at wipro.com wrote:
> I just don't know what I should pass for host , also when I pass NULL
> for host . I see the default host is NULL..
> Could you please help me. My project delivery is near , I need help soon.
Ideally you should just use the device tree to describe this device,
then you wouldn't have to deal with finding the pointer to the controller.
Otherwise, modify the cpm2_pic driver to either call
irq_set_default_host() (in which case NULL should work) or to make
cpm2_pic_host non-static (in which case you should pass that).
-Scott
More information about the Linuxppc-dev
mailing list