non-GPL equivalent for irq_of_parse_and_map()
I am trying to map a hardware interrupt to a virtual interrupt in my powerpc device driver for consequent use with request_irq(). A recommended way of doing this is by using the GPL irq_of_parse_and_map() / irq_create_of_mapping() functions. Does anyone know if there is a non-GPL way of doing this?
Re: non-GPL equivalent for irq_of_parse_and_map()
Some of the IRQs are listed in the file "/proc/interrupts" or "/proc/irq" and
Non-GPL applications can get information from the proc files.
It may be possible to add some new proc files to store the irq information retrieved by calling irq_of_parse_and_map() using GPL module and other Non-GPL modules can get the irq information via new proc files.
Could anyone know this is Non-GPL way ?