of/irq: remove references to NO_IRQ in drivers/of/platform.c
authorAndres Salomon <dilinger@queued.net>
Mon, 11 Oct 2010 03:35:05 +0000 (21:35 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 13 Oct 2010 03:58:27 +0000 (21:58 -0600)
commit52f6537cb2f0b461a9ce3457c01a6cfa2ae0bb22
treedb720ce58637b3c70277f9b0fbe5082fcf6f9b94
parente2f2a93b6384cfe0face0be595bfbda1475d864b
of/irq: remove references to NO_IRQ in drivers/of/platform.c

Instead of referencing NO_IRQ in platform.c, define some helper functions
in irq.c to call instead from platform.c.  Keep NO_IRQ usage local to
irq.c, and define NO_IRQ if not defined in headers.

Signed-off-by: Andres Salomon <dilinger@queued.net>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/of/irq.c
drivers/of/platform.c
include/linux/of_irq.h