diff options
author | Alejandro Gonzalez <alex.gonzalez@digi.com> | 2010-12-03 18:02:36 +0100 |
---|---|---|
committer | Alejandro Gonzalez <alex.gonzalez@digi.com> | 2011-01-21 15:48:36 +0100 |
commit | 2c5220290c76f006019ff8eec7c585332b7e3bbe (patch) | |
tree | b9a232cd7c78d44f1698af4e7453c0af6814797a /kernel | |
parent | ea736aad03d2ae85a91e3282836ebf8ddfdd45bc (diff) |
Allow for the SMSC module to be compiled as a module.
The irq_to_desc symbol needs to be exported or the module compilation
fails.
Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/irq/handle.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/irq/handle.c b/kernel/irq/handle.c index 27e5c6911223..71aaae5ae2c9 100644 --- a/kernel/irq/handle.c +++ b/kernel/irq/handle.c @@ -276,6 +276,7 @@ struct irq_desc *irq_to_desc(unsigned int irq) { return (irq < NR_IRQS) ? irq_desc + irq : NULL; } +EXPORT_SYMBOL(irq_to_desc); struct irq_desc *irq_to_desc_alloc_node(unsigned int irq, int node) { |