Skip to content

Commit

Permalink
of/irq: Export of_irq_get()
Browse files Browse the repository at this point in the history
The function will be used by the I2C core which can be compiled as a
module.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Grant Likely <grant.likely@linaro.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
  • Loading branch information
Laurent Pinchart authored and Wolfram Sang committed Nov 10, 2014
1 parent 78df445 commit 9eb08fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/of/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,7 @@ int of_irq_get(struct device_node *dev, int index)

return irq_create_of_mapping(&oirq);
}
EXPORT_SYMBOL_GPL(of_irq_get);

/**
* of_irq_get_byname - Decode a node's IRQ and return it as a Linux irq number
Expand Down

0 comments on commit 9eb08fb

Please sign in to comment.