diff options
Diffstat (limited to 'arch/sparc/include/asm/prom.h')
-rw-r--r-- | arch/sparc/include/asm/prom.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/prom.h b/arch/sparc/include/asm/prom.h index b5efc4d85234..58b85fa56066 100644 --- a/arch/sparc/include/asm/prom.h +++ b/arch/sparc/include/asm/prom.h | |||
@@ -96,6 +96,14 @@ static inline void of_node_put(struct device_node *node) | |||
96 | { | 96 | { |
97 | } | 97 | } |
98 | 98 | ||
99 | /* These routines are here to provide compatibility with how powerpc | ||
100 | * handles IRQ mapping for OF device nodes. We precompute and permanently | ||
101 | * register them in the of_device objects, whereas powerpc computes them | ||
102 | * on request. | ||
103 | */ | ||
104 | extern int irq_of_parse_and_map(struct device_node *node, int index); | ||
105 | #define irq_dispose_mapping(irq) do { } while (0) | ||
106 | |||
99 | /* | 107 | /* |
100 | * NB: This is here while we transition from using asm/prom.h | 108 | * NB: This is here while we transition from using asm/prom.h |
101 | * to linux/of.h | 109 | * to linux/of.h |