Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

of/irq: export of_get_irq_byname()

Similarly to of_get_irq(), let's export of_irq_get_byname(), so if a bus core
can be compiled as a module (such as I2C) it can have access to the symbol.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>

authored by

Dmitry Torokhov and committed by
Wolfram Sang
6602c452 a4a9a8cb

+1
+1
drivers/of/irq.c
··· 431 431 432 432 return of_irq_get(dev, index); 433 433 } 434 + EXPORT_SYMBOL_GPL(of_irq_get_byname); 434 435 435 436 /** 436 437 * of_irq_count - Count the number of IRQs a node uses